Skip to content

Commit c9c262d

Browse files
authored
Merge pull request #2254 from skyleaworlder/skyleaworlder-patch-1
[CI] Separate julia-nightly from common matrix generator
2 parents 7859403 + 6fa94a9 commit c9c262d

File tree

2 files changed

+44
-5
lines changed

2 files changed

+44
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
version:
2020
- '1.6' # Replace this with the minimum Julia version that your package supports.
2121
- '1'
22-
- 'nightly'
23-
os:
24-
- ubuntu-latest
25-
arch:
26-
- x64
22+
os: [ubuntu-latest]
23+
arch: [x64]
2724
include:
2825
- os: windows-latest
2926
version: '1'

.github/workflows/nightly-ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Nightly CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
tags: '*'
11+
12+
jobs:
13+
test:
14+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
version: [nightly]
20+
os: [ubuntu-latest]
21+
arch: [x64]
22+
steps:
23+
- uses: actions/checkout@v3
24+
- uses: julia-actions/setup-julia@v1
25+
with:
26+
version: ${{ matrix.version }}
27+
arch: ${{ matrix.arch }}
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 }}-
38+
- uses: julia-actions/julia-buildpkg@v1
39+
- name: "Run test without coverage report"
40+
uses: julia-actions/julia-runtest@v1
41+
with:
42+
coverage: false

0 commit comments

Comments
 (0)