Skip to content

Commit

Permalink
Update deploy_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Garima Ketan Chauhan authored and GitHub Enterprise committed Apr 2, 2025
1 parent 66e808c commit 503a9ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- name: Set up test containers
run: docker compose -f docker-compose.stag.yml up --build -d

- name: Run backend unit tests
run: docker exec secfit_stag_backend python manage.py test tests
- name: Run backend unit tests with coverage
run: |
docker exec secfit_stag_backend coverage run --source='.' manage.py test
docker exec secfit_stag_backend coverage report
- name: Tear down test containers
run: docker compose -f docker-compose.stag.yml down
Expand Down

0 comments on commit 503a9ce

Please sign in to comment.