ci: fix codecov upload (#43382)

This commit is contained in:
Harmen Stoppels 2024-03-26 22:49:26 +01:00 committed by GitHub
parent 69509a6d9a
commit 7e9caed8c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View file

@ -47,3 +47,4 @@ jobs:
if: ${{ inputs.with_coverage == 'true' }}
with:
flags: unittests,audits
token: ${{ secrets.CODECOV_TOKEN }}

View file

@ -94,6 +94,7 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
with:
flags: unittests,linux,${{ matrix.concretizer }}
token: ${{ secrets.CODECOV_TOKEN }}
# Test shell integration
shell:
runs-on: ubuntu-latest
@ -125,6 +126,7 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
with:
flags: shelltests,linux
token: ${{ secrets.CODECOV_TOKEN }}
# Test RHEL8 UBI with platform Python. This job is run
# only on PRs modifying core Spack
@ -184,6 +186,7 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # @v2.1.0
with:
flags: unittests,linux,clingo
token: ${{ secrets.CODECOV_TOKEN }}
# Run unit tests on MacOS
macos:
runs-on: ${{ matrix.os }}
@ -220,3 +223,4 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
with:
flags: unittests,macos
token: ${{ secrets.CODECOV_TOKEN }}

View file

@ -36,6 +36,7 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
with:
flags: unittests,windows
token: ${{ secrets.CODECOV_TOKEN }}
unit-tests-cmd:
runs-on: windows-latest
steps:
@ -60,6 +61,7 @@ jobs:
- uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
with:
flags: unittests,windows
token: ${{ secrets.CODECOV_TOKEN }}
build-abseil:
runs-on: windows-latest
steps: