Skip to content

Commit d9baa49

Browse files
Update ci.yml
1 parent 550b80d commit d9baa49

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ jobs:
1515
- name: Install dependencies
1616
run: pip install -r requirements.txt
1717
- name: Run tests and collect coverage
18-
run: pytest --cov app
18+
run: pytest --cov --junitxml=junit.xml
1919
- name: Upload coverage to Codecov (arg token)
2020
uses: codecov/codecov-action@main
2121
with:
2222
fail_ci_if_error: true
2323
token: ${{ secrets.CODECOV_TOKEN }}
2424
slug: test-org-20241/example-python
2525
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

Comments
 (0)