File tree Expand file tree Collapse file tree 5 files changed +60
-29
lines changed Expand file tree Collapse file tree 5 files changed +60
-29
lines changed Original file line number Diff line number Diff line change 24
24
with :
25
25
version : ${{ matrix.version }}
26
26
arch : ${{ matrix.arch }}
27
+ - uses : actions/cache@v1
28
+ env :
29
+ cache-name : cache-artifacts
30
+ with :
31
+ path : ~/.julia/artifacts
32
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-test-${{ env.cache-name }}-
35
+ ${{ runner.os }}-test-
36
+ ${{ runner.os }}-
27
37
- uses : julia-actions/julia-buildpkg@latest
28
38
- uses : julia-actions/julia-runtest@latest
29
39
env :
Original file line number Diff line number Diff line change 24
24
with :
25
25
version : ${{ matrix.version }}
26
26
arch : ${{ matrix.arch }}
27
+ - uses : actions/cache@v1
28
+ env :
29
+ cache-name : cache-artifacts
30
+ with :
31
+ path : ~/.julia/artifacts
32
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-test-${{ env.cache-name }}-
35
+ ${{ runner.os }}-test-
27
36
- uses : julia-actions/julia-buildpkg@latest
28
37
- uses : julia-actions/julia-runtest@latest
29
38
env :
Original file line number Diff line number Diff line change 24
24
with :
25
25
version : ${{ matrix.version }}
26
26
arch : ${{ matrix.arch }}
27
+ - uses : actions/cache@v1
28
+ env :
29
+ cache-name : cache-artifacts
30
+ with :
31
+ path : ~/.julia/artifacts
32
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-test-${{ env.cache-name }}-
35
+ ${{ runner.os }}-test-
36
+ ${{ runner.os }}-
27
37
- uses : julia-actions/julia-buildpkg@latest
28
38
- uses : julia-actions/julia-runtest@latest
29
39
env :
Original file line number Diff line number Diff line change @@ -17,21 +17,51 @@ jobs:
17
17
- ' 1'
18
18
os :
19
19
- ubuntu-latest
20
- - windows-latest
21
20
- macOS-latest
21
+ - windows-latest
22
22
arch :
23
23
- x86
24
24
- x64
25
+ num_threads :
26
+ - 1
27
+ - 2
25
28
exclude :
26
29
- os : windows-latest
27
30
arch : x86
28
31
- os : macOS-latest
29
32
arch : x86
33
+ - os : macOS-latest
34
+ num_threads : 2
35
+ - os : windows-latest
36
+ num_threads : 2
30
37
steps :
31
38
- uses : actions/checkout@v2
32
39
- uses : julia-actions/setup-julia@v1
33
40
with :
34
41
version : ${{ matrix.version }}
35
42
arch : ${{ matrix.arch }}
43
+ - uses : actions/cache@v1
44
+ env :
45
+ cache-name : cache-artifacts
46
+ with :
47
+ path : ~/.julia/artifacts
48
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49
+ restore-keys : |
50
+ ${{ runner.os }}-test-${{ env.cache-name }}-
51
+ ${{ runner.os }}-test-
52
+ ${{ runner.os }}-
36
53
- uses : julia-actions/julia-buildpkg@latest
37
54
- uses : julia-actions/julia-runtest@latest
55
+ env :
56
+ JULIA_NUM_THREADS : ${{ matrix.num_threads }}
57
+ - uses : julia-actions/julia-processcoverage@v1
58
+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
59
+ - uses : codecov/codecov-action@v1
60
+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
61
+ with :
62
+ file : lcov.info
63
+ - uses : coverallsapp/github-action@master
64
+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
65
+ with :
66
+ github-token : ${{ secrets.GITHUB_TOKEN }}
67
+ path-to-lcov : lcov.info
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments