Skip to content

Commit 2146012

Browse files
committed
fix celery in 3.6 again. maybe
1 parent 763c421 commit 2146012

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/test-integrations-tasks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
# ubuntu-20.04 is the last version that supported python3.6
3636
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
3737
os: [ubuntu-22.04]
38+
env:
39+
CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
3840
# Use Docker container only for Python 3.6
3941
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4042
steps:
@@ -124,6 +126,8 @@ jobs:
124126
# ubuntu-20.04 is the last version that supported python3.6
125127
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
126128
os: [ubuntu-22.04]
129+
env:
130+
CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
127131
# Use Docker container only for Python 3.6
128132
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
129133
steps:

scripts/split_tox_gh_actions/templates/test_group.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
4040

4141
{% endif %}
42+
{% if needs_redis %}
43+
env:
44+
{% raw %}CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}{% endraw %}
45+
{% endif %}
4246
# Use Docker container only for Python 3.6
4347
{% raw %}container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}{% endraw %}
4448
steps:

0 commit comments

Comments
 (0)