File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ types : [opened, synchronize, reopened]
7
+ jobs :
8
+ test :
9
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ version : ['1.6', '1'] # Test against LTS and current minor release
15
+ os : [ubuntu-latest, macOS-latest, windows-latest]
16
+ arch : [x64]
17
+ include :
18
+ # Also test against 32-bit Linux on LTS.
19
+ - version : ' 1.6'
20
+ os : ubuntu-latest
21
+ arch : x86
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - uses : julia-actions/setup-julia@v1
25
+ with :
26
+ version : ${{ matrix.version }}
27
+ arch : ${{ matrix.arch }}
28
+ - uses : actions/cache@v1
29
+ env :
30
+ cache-name : cache-artifacts
31
+ with :
32
+ path : ~/.julia/artifacts
33
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
34
+ restore-keys : |
35
+ ${{ runner.os }}-test-${{ env.cache-name }}-
36
+ ${{ runner.os }}-test-
37
+ ${{ runner.os }}-
38
+ - uses : julia-actions/julia-buildpkg@v1
39
+ - uses : julia-actions/julia-runtest@v1
40
+ - uses : julia-actions/julia-processcoverage@v1
41
+ - uses : codecov/codecov-action@v1
42
+ with :
43
+ file : lcov.info
You can’t perform that action at this time.
0 commit comments