summaryrefslogtreecommitdiff
path: root/.github/workflows/unit_tests.yaml
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-03-26 22:49:26 +0100
committerGitHub <noreply@github.com>2024-03-26 22:49:26 +0100
commit7e9caed8c2af7c2573902311995d2b74c0a7b79f (patch)
treee6badde5b457a16f807b5464e1193cd896e17e2c /.github/workflows/unit_tests.yaml
parent69509a6d9a9c515dc4e00fbfe94c7e27a440b0ad (diff)
downloadspack-7e9caed8c2af7c2573902311995d2b74c0a7b79f.tar.gz
spack-7e9caed8c2af7c2573902311995d2b74c0a7b79f.tar.bz2
spack-7e9caed8c2af7c2573902311995d2b74c0a7b79f.tar.xz
spack-7e9caed8c2af7c2573902311995d2b74c0a7b79f.zip
ci: fix codecov upload (#43382)
Diffstat (limited to '.github/workflows/unit_tests.yaml')
-rw-r--r--.github/workflows/unit_tests.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index fa53ecd5bc..4c9e29500d 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -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 }}