Skip to content

Commit

Permalink
Revert "Fix code coverage & update action versions (#1954)"
Browse files Browse the repository at this point in the history
This reverts commit c0c5e51.
  • Loading branch information
wsmoses authored Oct 16, 2024
1 parent 93d690a commit 56f7084
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 56f7084

Please sign in to comment.