From e2b0e41ea770a7a0a7e9a8566b975e48d340f45e Mon Sep 17 00:00:00 2001 From: William Moses Date: Wed, 16 Oct 2024 18:44:25 -0500 Subject: [PATCH] Revert "Fix code coverage & update action versions (#1954)" (#1974) This reverts commit c0c5e5169987612641383de68b67d6dadb334f1a. --- .github/workflows/CI.yml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e5c92993e1..60d713c529 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -54,13 +54,13 @@ jobs: version: '1.11' assertions: true steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 if: ${{ ! matrix.assertions }} with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 if: ${{ matrix.assertions }} with: repository: 'JuliaLang/julia' @@ -72,7 +72,7 @@ jobs: sed -i.bak 's/exit 2/exit 0/g' julia/deps/tools/jlchecksum make -C julia -j $(nproc) FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 JULIA_PRECOMPILE=0 echo $PWD/julia/usr/bin >> $GITHUB_PATH - - uses: actions/cache@v4 + - uses: actions/cache@v1 env: cache-name: cache-artifacts with: @@ -120,12 +120,10 @@ jobs: JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager - uses: julia-actions/julia-processcoverage@v1 if: matrix.version != 'nightly' || steps.run_tests.outcome == 'success' - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v1 if: matrix.version != 'nightly' || steps.run_tests.outcome == 'success' with: file: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false # or true if you want CI to fail when Codecov fails enzymetestutils: name: EnzymeTestUtils - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.libEnzyme }} libEnzyme - ${{ github.event_name }} runs-on: ${{ matrix.os }} @@ -145,12 +143,12 @@ jobs: - x64 libEnzyme: [packaged] steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 + - uses: actions/cache@v1 env: cache-name: cache-artifacts with: @@ -182,12 +180,10 @@ jobs: if: matrix.version != 'nightly' || steps.run_tests.outcome == 'success' with: directories: lib/EnzymeTestUtils/src - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v2 if: matrix.version != 'nightly' || steps.run_tests.outcome == 'success' with: files: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false # or true if you want CI to fail when Codecov fails integration: name: Integration Tests - ${{ matrix.test }} runs-on: ${{ matrix.os }} @@ -204,10 +200,10 @@ jobs: - DynamicExpressions steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} - - uses: julia-actions/cache@v4 + - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - name: "Run tests" run: | @@ -218,11 +214,11 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v2 + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 with: version: '1' - - uses: julia-actions/cache@v4 + - uses: julia-actions/cache@v1 - run: | julia --project=docs -e ' using Pkg