Skip to content

Commit

Permalink
Revert "Remove code cov"
Browse files Browse the repository at this point in the history
This reverts commit 6ce7eec.
  • Loading branch information
amandine-sahl committed Jun 27, 2023
1 parent 6ce7eec commit 16b59e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,15 @@ jobs:
working-directory: ./backend
- name: Run pytests
run: |
pytest test/
pytest -v --cov --cov-report xml
working-directory: ./backend
env:
MAIL_SERVER: ${{secrets.MAIL_SERVER}}
MAIL_PORT: ${{secrets.MAIL_PORT}}
MAIL_USERNAME: ${{secrets.MAIL_USERNAME}}
MAIL_PASSWORD: ${{secrets.MAIL_PASSWORD}}
MAIL_DEFAULT_SENDER: ${{secrets.MAIL_USERNAME}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: pytest

0 comments on commit 16b59e6

Please sign in to comment.