Skip to content

Commit 6a32fe9

Browse files
fix: update Redis service configuration and remove unused environment variables
1 parent 33ec853 commit 6a32fe9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test_backend_build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
options: >-
2727
--health-cmd "redis-cli ping"
2828
--health-interval 10s
29-
29+
ports:
30+
- 6379:6379
3031
postgres:
3132
image: postgis/postgis:14-3.2
3233
env:
@@ -71,8 +72,6 @@ jobs:
7172
echo "DATABASE_URL=postgis://admin:password@localhost:5432/ai" >> $GITHUB_ENV
7273
echo "RAMP_HOME=${{ github.workspace }}" >> $GITHUB_ENV
7374
echo "TRAINING_WORKSPACE=${{ github.workspace }}/backend/training" >> $GITHUB_ENV
74-
echo "CELERY_BROKER_URL=redis://redis:6379/0" >> $GITHUB_ENV
75-
echo "CELERY_RESULT_BACKEND=redis://redis:6379/0" >> $GITHUB_ENV
7675
- name: Run migrations
7776
env:
7877
TESTING_TOKEN: ${{ secrets.TESTING_TOKEN }}

0 commit comments

Comments
 (0)