We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08df96a commit 55b4476Copy full SHA for 55b4476
.github/workflows/pytest-cov.yml
@@ -35,8 +35,13 @@ jobs:
35
- name: Install dependencies and library
36
run: poetry install
37
- name: Run tests with coverage
38
- run: poetry run pytest --cov --cov-branch --cov-report=xml
39
- - name: Upload coverage reports to Codecov
+ run: poetry run pytest --cov --junitxml=junit.xml -o junit_family=legacy
+ - name: Upload coverage to Codecov
40
uses: codecov/codecov-action@v5
41
with:
42
token: ${{ secrets.CODECOV_TOKEN }}
43
+ - name: Upload test results to Codecov
44
+ if: ${{ !cancelled() }}
45
+ uses: codecov/test-results-action@v1
46
+ with:
47
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments