Skip to content

Commit f910669

Browse files
Update run-tests.yml
Display the coverage report
1 parent 778cc06 commit f910669

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
run: |
3232
pytest --cov=rune.runtime --cov-report=term-missing --cov-report=xml:coverage.xml --junitxml=test-results.xml
3333
34-
- name: Debug - List files after pytest
35-
run: |
36-
pwd
37-
ls -la
34+
#- name: Debug - List files after pytest
35+
# run: |
36+
# pwd
37+
# ls -la
3838

3939
- name: Upload coverage report
4040
uses: actions/upload-artifact@v4
@@ -55,3 +55,10 @@ jobs:
5555
if: always() # Run even if tests fail
5656
with:
5757
files: test-results.xml
58+
59+
- name: Upload coverage to Codecov
60+
uses: codecov/codecov-action@v4
61+
with:
62+
files: coverage.xml
63+
fail_ci_if_error: true
64+
verbose: true

0 commit comments

Comments
 (0)