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' }} if: ${{ inputs.with_coverage == 'true' }}
with: with:
flags: unittests,audits flags: unittests,audits
token: ${{ secrets.CODECOV_TOKEN }}

View file

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

View file

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