File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 6
6
- master
7
7
pull_request :
8
8
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
+
9
19
jobs :
10
20
test :
11
21
runs-on : ${{ matrix.os }}
12
22
continue-on-error : ${{ matrix.version == 'nightly' }}
13
23
strategy :
14
24
matrix :
15
25
version :
16
- - ' 1.6 '
26
+ - ' min '
17
27
- ' 1'
18
- - nightly
19
28
os :
20
29
- ubuntu-latest
21
30
- macOS-latest
@@ -39,25 +48,31 @@ jobs:
39
48
arch : x64
40
49
num_threads : 1
41
50
coverage : true
51
+
42
52
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
45
56
with :
46
57
version : ${{ matrix.version }}
47
58
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
+
51
62
- uses : julia-actions/julia-buildpkg@latest
63
+
52
64
- uses : julia-actions/julia-runtest@latest
53
65
env :
54
66
JULIA_NUM_THREADS : ${{ matrix.num_threads }}
67
+
55
68
- uses : julia-actions/julia-processcoverage@v1
56
69
if : matrix.coverage
70
+
57
71
- uses : codecov/codecov-action@v1
58
72
if : matrix.coverage
59
73
with :
60
74
file : lcov.info
75
+
61
76
- uses : coverallsapp/github-action@master
62
77
if : matrix.coverage
63
78
with :
You can’t perform that action at this time.
0 commit comments