Skip to content

Commit 58ccb57

Browse files
committed
Update CI
1 parent 5a3b155 commit 58ccb57

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.github/workflows/CI.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@ on:
66
- master
77
pull_request:
88

9+
# needed to allow julia-actions/cache to delete old caches that it has created
10+
permissions:
11+
actions: write
12+
contents: read
13+
14+
# Cancel existing tests on the same PR if a new commit is added to a pull request
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18+
919
jobs:
1020
test:
1121
runs-on: ${{ matrix.os }}
1222
continue-on-error: ${{ matrix.version == 'nightly' }}
1323
strategy:
1424
matrix:
1525
version:
16-
- '1.6'
26+
- 'min'
1727
- '1'
18-
- nightly
1928
os:
2029
- ubuntu-latest
2130
- macOS-latest
@@ -39,25 +48,31 @@ jobs:
3948
arch: x64
4049
num_threads: 1
4150
coverage: true
51+
4252
steps:
43-
- uses: actions/checkout@v2
44-
- uses: julia-actions/setup-julia@v1
53+
- uses: actions/checkout@v4
54+
55+
- uses: julia-actions/setup-julia@v2
4556
with:
4657
version: ${{ matrix.version }}
4758
arch: ${{ matrix.arch }}
48-
- uses: julia-actions/cache@v1
49-
with:
50-
cache-packages: "false" # caching Conda.jl causes precompilation error
59+
60+
- uses: julia-actions/cache@v2
61+
5162
- uses: julia-actions/julia-buildpkg@latest
63+
5264
- uses: julia-actions/julia-runtest@latest
5365
env:
5466
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
67+
5568
- uses: julia-actions/julia-processcoverage@v1
5669
if: matrix.coverage
70+
5771
- uses: codecov/codecov-action@v1
5872
if: matrix.coverage
5973
with:
6074
file: lcov.info
75+
6176
- uses: coverallsapp/github-action@master
6277
if: matrix.coverage
6378
with:

0 commit comments

Comments
 (0)