Skip to content

Commit b536262

Browse files
committed
Try to fix celery
1 parent 3309b61 commit b536262

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ env:
2121
BUILD_CACHE_KEY: ${{ github.sha }}
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
24+
CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'redis://redis:6379/0' || 'redis://localhost:6379/0' }}
2425
jobs:
2526
test-tasks-latest:
2627
name: Tasks (latest)

scripts/split_tox_gh_actions/templates/base.jinja

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ env:
2828
BUILD_CACHE_KEY: {% raw %}${{ github.sha }}{% endraw %}
2929
CACHED_BUILD_PATHS: |
3030
{% raw %}${{ github.workspace }}/dist-serverless{% endraw %}
31-
31+
{% if needs_redis %}
32+
{% raw %}CELERY_BROKER_URL: ${{ matrix.python-version == '3.6' && 'redis://redis:6379/0' || 'redis://localhost:6379/0' }}{% endraw %}
33+
{% endif %}
3234
jobs:
3335
{% for category in categories %}
3436
{% include "test_group.jinja" %}

0 commit comments

Comments
 (0)