From 609dd4c5d5b0d7994134b2bc8d7511b1343a7402 Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Sat, 18 May 2024 19:13:00 -0400 Subject: [PATCH] Handle codecov token (#26) * Handle codecov token * Stress test codecov * Revert comments --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 895bfb6..164574f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,18 @@ jobs: with: version: ${{ matrix.version }} + - name: Cache artifacts + uses: actions/cache@v4 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- + # - name: "Unit Test" - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest @@ -43,3 +55,5 @@ jobs: if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} with: file: lcov.info + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}