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 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 :
Original file line number Diff line number Diff line change 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:
You can’t perform that action at this time.
0 commit comments