Skip to content

Commit

Permalink
ci(backend-build): updates requirement to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nifedara committed Jul 31, 2024
1 parent fb97009 commit 8050dcc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ jobs:
- name: Create env
run: |
cd backend/
export DATABASE_URL=$DATABASE_URL
export RAMP_HOME=$RAMP_HOME
export TRAINING_WORKSPACE=$TRAINING_WORKSPACE
mv sample_env .env
export DATABASE_URL=postgis://admin:password@localhost:5432/ai
export RAMP_HOME="/home/runner/work/fAIr/fAIr"
export TRAINING_WORKSPACE="/home/runner/work/fAIr/fAIr/backend/training"
- name: Run celery worker
run: |
Expand All @@ -120,9 +120,6 @@ jobs:
- name: Run migrations
env:
TESTING_TOKEN: ${{ secrets.TESTING_TOKEN }}
OSM_CLIENT_ID: ${{ secrets.OSM_CLIENT_ID}}
OSM_CLIENT_SECRET: ${{ secrets.OSM_CLIENT_SECRET}}
OSM_SECRET_KEY: ${{ secrets.OSM_SECRET_KEY}}
run: |
cd backend/
python manage.py makemigrations
Expand Down

0 comments on commit 8050dcc

Please sign in to comment.