diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ad6140..9ef02e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,16 +27,34 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v4 + # - name: "Set up Julia" - uses: julia-actions/setup-julia@latest 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 + # - name: "Cover" - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} with: file: lcov.info + fail_ci_if_error: false + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}