From 057a6804ea2da60b053895e490cf230d0ef90225 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Thu, 24 Oct 2024 21:13:20 -0700 Subject: [PATCH] Use codecov tokens (#1707) --- .github/workflows/fpga-ci.yml | 3 +++ .github/workflows/general-ci.yml | 6 +++++- .github/workflows/gpu-ci.yml | 1 + .github/workflows/heterogeneous-ci.yml | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fpga-ci.yml b/.github/workflows/fpga-ci.yml index 29be0ec1f1..ef8e5348da 100644 --- a/.github/workflows/fpga-ci.yml +++ b/.github/workflows/fpga-ci.yml @@ -8,6 +8,9 @@ on: merge_group: branches: [ main, ci-fix ] +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: test-fpga: if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-ci') }} diff --git a/.github/workflows/general-ci.yml b/.github/workflows/general-ci.yml index 2dcffc6484..faf0a727be 100644 --- a/.github/workflows/general-ci.yml +++ b/.github/workflows/general-ci.yml @@ -85,4 +85,8 @@ jobs: ./tests/polybench_test.sh ./tests/xform_test.sh coverage combine .; coverage report; coverage xml - ./codecov + + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true diff --git a/.github/workflows/gpu-ci.yml b/.github/workflows/gpu-ci.yml index 2a1ccb43ef..527e004478 100644 --- a/.github/workflows/gpu-ci.yml +++ b/.github/workflows/gpu-ci.yml @@ -11,6 +11,7 @@ on: env: CUDACXX: /usr/local/cuda/bin/nvcc MKLROOT: /opt/intel/oneapi/mkl/latest/ + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} jobs: diff --git a/.github/workflows/heterogeneous-ci.yml b/.github/workflows/heterogeneous-ci.yml index 5f7dbff77e..99b566e21f 100644 --- a/.github/workflows/heterogeneous-ci.yml +++ b/.github/workflows/heterogeneous-ci.yml @@ -12,6 +12,7 @@ env: CUDA_HOME: /usr/local/cuda CUDACXX: nvcc MKLROOT: /opt/intel/oneapi/mkl/latest/ + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} jobs: test-heterogeneous: