File tree Expand file tree Collapse file tree 2 files changed +47
-17
lines changed Expand file tree Collapse file tree 2 files changed +47
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
+ pull_request :
4
+ branches :
5
+ - main
3
6
push :
4
7
branches :
5
8
- main
6
- tags : ['*']
7
- pull_request :
8
- workflow_dispatch :
9
- concurrency :
10
- # Skip intermediate builds: always.
11
- # Cancel intermediate builds: only if it is a pull request build.
12
- group : ${{ github.workflow }}-${{ github.ref }}
13
- cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
14
9
jobs :
15
10
test :
16
- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
17
11
runs-on : ${{ matrix.os }}
18
- timeout-minutes : 60
19
- permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
20
- actions : write
21
- contents : read
22
12
strategy :
23
- fail-fast : false
24
13
matrix :
25
14
version :
26
- - ' 1.10'
27
15
- ' 1.8'
28
- - ' nightly'
16
+ - ' 1.9'
17
+ - ' 1.10'
29
18
os :
30
19
- ubuntu-latest
31
20
arch :
36
25
with :
37
26
version : ${{ matrix.version }}
38
27
arch : ${{ matrix.arch }}
39
- - uses : julia-actions/cache@v1
28
+ - uses : actions/cache@v3
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 }}-
40
38
- uses : julia-actions/julia-buildpkg@v1
41
39
- uses : julia-actions/julia-runtest@v1
40
+ env :
41
+ GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : JuliaNightly
2
+ # Nightly Scheduled Julia Nightly Run
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 2 * * 0' # Daily at 2 AM UTC every Sunday
6
+ jobs :
7
+ test :
8
+ name : Julia Nightly - Ubuntu - x64
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - uses : julia-actions/setup-julia@v1
13
+ with :
14
+ version : nightly
15
+ arch : x64
16
+ - uses : actions/cache@v3
17
+ env :
18
+ cache-name : cache-artifacts
19
+ with :
20
+ path : ~/.julia/artifacts
21
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-test-${{ env.cache-name }}-
24
+ ${{ runner.os }}-test-
25
+ ${{ runner.os }}-
26
+ - uses : julia-actions/julia-buildpkg@latest
27
+ - name : " Run test without coverage report"
28
+ uses : julia-actions/julia-runtest@v1
29
+ with :
30
+ coverage : false
You can’t perform that action at this time.
0 commit comments