Skip to content

Commit 05c21a2

Browse files
committed
Fix coverage upload paths
1 parent 4655675 commit 05c21a2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.coveragerc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ source = cert_chain_resolver
55
[paths]
66
source =
77
cert_chain_resolver
8-
*/cert_chain_resolver
8+
*/cert_chain_resolver
9+
10+
[report]
11+
include = cert_chain_resolver/*

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,16 @@ jobs:
7474
pattern: coverage-*
7575
- name: Combine coverage reports
7676
run: |
77-
ls -lashR .
7877
set -x
7978
coverage combine coverage-*/.coverage
8079
coverage report
81-
coverage xml -o combined_coverage.xml
80+
coverage xml -o ./coverage.xml
8281
8382
coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
8483
- name: Upload coverage to Codecov
8584
uses: codecov/codecov-action@v4
8685
with:
87-
file: ./combined_coverage.xml
86+
file: ./coverage.xml
8887
token: ${{ secrets.CODECOV_TOKEN }}
8988
mypy:
9089
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)