Skip to content

Commit 6d4bfec

Browse files
authored
Add pipeline to run core and code quality tests under Julia nightly (qutip#231)
1 parent e21f940 commit 6d4bfec

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Runtests (Julia nightly)
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- '.github/workflows/CI-Julia-nightly.yml'
9+
- 'src/**'
10+
- 'ext/**'
11+
- 'test/runtests.jl'
12+
- 'test/core-test/**'
13+
- 'Project.toml'
14+
pull_request:
15+
branches:
16+
- 'main'
17+
paths:
18+
- '.github/workflows/CI-Julia-nightly.yml'
19+
- 'src/**'
20+
- 'ext/**'
21+
- 'test/runtests.jl'
22+
- 'test/core-test/**'
23+
- 'Project.toml'
24+
types:
25+
- opened
26+
- reopened
27+
- synchronize
28+
- ready_for_review
29+
30+
jobs:
31+
test:
32+
name: ${{ matrix.os }} - ${{ matrix.arch }} ( ${{ matrix.group }} )
33+
runs-on: ${{ matrix.os }}
34+
permissions: # needed to allow julia-actions/cache to delete old caches that it has created
35+
actions: write
36+
contents: read
37+
if: ${{ !github.event.pull_request.draft }}
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
version:
42+
- 'nightly'
43+
os:
44+
- 'ubuntu-latest'
45+
arch:
46+
- 'x64'
47+
group:
48+
- 'Core'
49+
- 'Code-Quality'
50+
51+
steps:
52+
- uses: actions/checkout@v4
53+
- uses: julia-actions/setup-julia@v2
54+
with:
55+
version: ${{ matrix.version }}
56+
arch: ${{ matrix.arch }}
57+
- uses: julia-actions/cache@v2
58+
- uses: julia-actions/julia-buildpkg@v1
59+
- uses: julia-actions/julia-runtest@v1
60+
env:
61+
GROUP: ${{ matrix.group }}

0 commit comments

Comments
 (0)