Skip to content

Commit

Permalink
fix(workflow): update test step to enable coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Nov 26, 2024
1 parent c602508 commit 3f48e8c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,15 @@ jobs:
python manage.py migrate login
python manage.py migrate core
- name : Run tests
env :
- name: Run tests
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 : |
run: |
cd backend/
coverage run manage.py test tests
coverage report
# enable coverage report with this : coverage report

0 comments on commit 3f48e8c

Please sign in to comment.