Skip to content

Commit 28299fb

Browse files
authored
Upload coverage for entire CI matrix (#1367)
1 parent cf0562c commit 28299fb

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ jobs:
5050
os: ${{ matrix.os }}
5151
continue-on-error: ${{ matrix.experimental }}
5252
enable-cache: ${{ github.ref_type == 'tag' && 'false' || 'auto' }}
53-
upload-coverage:
54-
${{ matrix.python-version == 3.11 && matrix.os == 'ubuntu-24.04' }}
5553
secrets:
56-
# yamllint disable-line rule:line-length
5754
codecov-token: ${{ secrets.CODECOV_TOKEN }}
5855

5956
zizmor:

.github/workflows/reusable-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ on:
1717
enable-cache:
1818
type: string
1919
required: true
20-
upload-coverage:
21-
type: boolean
2220
secrets:
2321
codecov-token:
2422
required: false
@@ -56,13 +54,13 @@ jobs:
5654
run: |
5755
uv run make mototest
5856
- name: Upload coverage to Codecov
59-
if: ${{ inputs.upload-coverage }}
6057
# yamllint disable-line rule:line-length
6158
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
6259
with:
6360
token: ${{ secrets.codecov-token }} # not required for public repos
6461
files: ./coverage.xml
65-
flags: unittests # optional
62+
# yamllint disable-line rule:line-length
63+
flags: unittests,os-${{ inputs.os }},python-${{ inputs.python-version }} # optional
6664
name: codecov-umbrella # optional
6765
fail_ci_if_error: true # optional (default = false)
6866
verbose: true # optional (default = false)

0 commit comments

Comments
 (0)