Skip to content

Commit da2ba34

Browse files
authored
Merge pull request #535 from powerapi-ng/ci/always-upload-coverage
ci(build): Always upload coverage reports to Codecov
2 parents a4e2bdd + 8a27117 commit da2ba34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
build-and-test:
14-
name: Build project and run tests
13+
run-tests:
14+
name: Run linters and unit tests
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
@@ -45,11 +45,9 @@ jobs:
4545
uv run pytest --cov=powerapi --cov-report=term --cov-report=xml tests/unit
4646
4747
- name: Upload coverage reports to Codecov
48-
if: ${{ matrix.python-version }} == "3.10"
4948
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
5049
with:
5150
token: ${{ secrets.CODECOV_TOKEN }}
52-
file: coverage.xml
5351

5452
build-container-image:
5553
name: Build container image

0 commit comments

Comments
 (0)