Skip to content

Commit a0423f8

Browse files
authored
UpdateD code coverage stage on github actions.
1 parent 90e98f0 commit a0423f8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ jobs:
3030
# Run tests with coverage
3131
- name: Run tests
3232
run: |
33-
pytest -v --cov=src/problem_solving_questions --cov-report=html --cov-report=term tests/
33+
pytest -v --cov=src/problem_solving_questions --cov-report=xml --cov-report=term tests/
34+
35+
- name: Upload coverage reports to Codecov
36+
uses: codecov/codecov-action@v5
37+
with:
38+
token: ${{ secrets.CODECOV_TOKEN }}
39+
slug: gsaini/python-getting-started

0 commit comments

Comments
 (0)