@@ -15,46 +15,44 @@ jobs:
15
15
fail-fast : false
16
16
matrix :
17
17
version :
18
- - 1
18
+ - " 1.0" # LTS
19
+ - " 1" # Latest Release
19
20
os :
20
21
- ubuntu-latest
21
22
- macOS-latest
22
23
- windows-latest
23
24
arch :
24
25
- x64
26
+ - x86
27
+ exclude :
28
+ # Test 32-bit only on Linux
29
+ - os : macOS-latest
30
+ arch : x86
31
+ - os : windows-latest
32
+ arch : x86
25
33
include :
26
- # Add a 1.0 job just to make sure we still support it
27
- - os : ubuntu-latest
28
- version : 1.0.5
29
- arch : x64
30
- # Add a 1.3 job because that's what Invenia actually uses
34
+ # Add a 1.5 job because that's what Invenia actually uses
31
35
- os : ubuntu-latest
32
- version : 1.3
36
+ version : " 1.5 "
33
37
arch : x64
34
- # Add a 32-bit job to ensure we don't have any 64-bit specific logic
35
- - os : ubuntu-latest
36
- version : 1
37
- arch : x86
38
38
steps :
39
39
- uses : actions/checkout@v2
40
40
- uses : julia-actions/setup-julia@v1
41
41
with :
42
42
version : ${{ matrix.version }}
43
43
arch : ${{ matrix.arch }}
44
- - uses : actions/cache@v1
44
+ - uses : actions/cache@v2
45
45
env :
46
46
cache-name : cache-artifacts
47
47
with :
48
48
path : ~/.julia/artifacts
49
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49
+ key : ${{ runner.os }}-${{ matrix.arch }}- test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
50
50
restore-keys : |
51
- ${{ runner.os }}-test-${{ env.cache-name }}-
52
- ${{ runner.os }}-test-
51
+ ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-
52
+ ${{ runner.os }}-${{ matrix.arch }}-test-
53
+ ${{ runner.os }}-${{ matrix.arch }}-
53
54
${{ runner.os }}-
54
55
- uses : julia-actions/julia-buildpkg@latest
55
- - run : |
56
- git config --global user.name Tester
57
- git config --global user.email [email protected]
58
56
- uses : julia-actions/julia-runtest@latest
59
57
- uses : julia-actions/julia-processcoverage@v1
60
58
- uses : codecov/codecov-action@v1
65
63
name : Notify Slack Failure
66
64
needs : test
67
65
runs-on : ubuntu-latest
68
- if : github.event == 'schedule'
66
+ if : always() && github.event_name == 'schedule'
69
67
steps :
70
68
- uses : technote-space/workflow-conclusion-action@v2
71
69
- uses : voxmedia/github-action-slack-notify-build@v1
@@ -85,16 +83,12 @@ jobs:
85
83
- uses : julia-actions/setup-julia@v1
86
84
with :
87
85
version : ' 1'
88
- - run : |
89
- git config --global user.name name
90
- git config --global user.email email
91
- git config --global github.user username
92
86
- run : |
93
87
julia --project=docs -e '
94
- using Pkg;
95
- Pkg.develop(PackageSpec(path=pwd()));
96
- Pkg.instantiate();
97
- include("docs/make.jl"); '
88
+ using Pkg
89
+ Pkg.develop(PackageSpec(path=pwd()))
90
+ Pkg.instantiate()
91
+ include("docs/make.jl")'
98
92
env:
99
93
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100
94
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
0 commit comments