We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 550b80d commit d9baa49Copy full SHA for d9baa49
.github/workflows/ci.yml
@@ -15,11 +15,18 @@ jobs:
15
- name: Install dependencies
16
run: pip install -r requirements.txt
17
- name: Run tests and collect coverage
18
- run: pytest --cov app
+ run: pytest --cov --junitxml=junit.xml
19
- name: Upload coverage to Codecov (arg token)
20
uses: codecov/codecov-action@main
21
with:
22
fail_ci_if_error: true
23
token: ${{ secrets.CODECOV_TOKEN }}
24
slug: test-org-20241/example-python
25
verbose: true
26
+ - name: Upload test results to Codecov
27
+ if: ${{ !cancelled() }}
28
+ uses: codecov/test-results-action@v1
29
+ with:
30
+ token: ${{ secrets.CODECOV_TOKEN }}
31
+
32
0 commit comments