From ac8d5d50651960a99632bd349b7fa3e5164f5567 Mon Sep 17 00:00:00 2001 From: Sathvik Bhagavan Date: Thu, 14 Mar 2024 08:46:29 +0000 Subject: [PATCH] fixup! ci: add Downgrade CI --- .github/workflows/Downgrade.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 70354e23f..3dfc4be8d 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -34,8 +34,28 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} + - 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 }}- - uses: julia-actions/julia-downgrade-compat@v1 with: skip: LinearAlgebra, Pkg, Random, Test - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 \ No newline at end of file + - uses: julia-actions/julia-runtest@v1 + env: + GROUP: ${{ matrix.group }} + - uses: julia-actions/julia-processcoverage@v1 + with: + directories: src,lib/NeuralPDELogging/src + - uses: codecov/codecov-action@v4 + with: + files: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true