File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
scripts/split_tox_gh_actions/templates Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 35
35
# ubuntu-20.04 is the last version that supported python3.6
36
36
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37
37
os : [ubuntu-22.04]
38
+ env :
39
+ CELERY_BROKER_URL : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
38
40
# Use Docker container only for Python 3.6
39
41
container : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
40
42
steps :
@@ -124,6 +126,8 @@ jobs:
124
126
# ubuntu-20.04 is the last version that supported python3.6
125
127
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
126
128
os : [ubuntu-22.04]
129
+ env :
130
+ CELERY_BROKER_URL : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
127
131
# Use Docker container only for Python 3.6
128
132
container : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
129
133
steps :
Original file line number Diff line number Diff line change 39
39
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
40
40
41
41
{% endif %}
42
+ {% if needs_redis %}
43
+ env:
44
+ {% raw %} CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}{% endraw %}
45
+ {% endif %}
42
46
# Use Docker container only for Python 3.6
43
47
{% raw %} container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}{% endraw %}
44
48
steps:
You can’t perform that action at this time.
0 commit comments