Skip to content

Commit f1c5fa7

Browse files
authored
Update codecov with secret
1 parent 45f5e8a commit f1c5fa7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pull-request-testing.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ jobs:
3535
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3636
- name: Test with pytest
3737
run: |
38-
pytest --cov=src -v
38+
pytest --cov=src --cov-report=xml
39+
- name: Upload coverage reports to Codecov
40+
uses: codecov/codecov-action@v3
41+
env:
42+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
43+
with:
44+
files: ./coverage.xml # coverage report

0 commit comments

Comments
 (0)