Skip to content

Commit e21f940

Browse files
authored
fix CI config (qutip#232)
1 parent 7605b69 commit e21f940

File tree

1 file changed

+20
-26
lines changed

1 file changed

+20
-26
lines changed

.github/workflows/CI.yml

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ on:
2929

3030
jobs:
3131
test:
32-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} ( ${{ matrix.group }} )
33-
runs-on: ${{ matrix.os }}
32+
name: Julia ${{ matrix.version }} - ${{ matrix.node.os }} - ${{ matrix.node.arch }} ( ${{ matrix.group }} )
33+
runs-on: ${{ matrix.node.os }}
3434
permissions: # needed to allow julia-actions/cache to delete old caches that it has created
3535
actions: write
3636
contents: read
@@ -42,43 +42,37 @@ jobs:
4242
version:
4343
- '1.10' # oldest
4444
# - '1' # latest
45-
os:
46-
- ubuntu-latest
47-
- windows-latest
48-
arch:
49-
- x64
45+
node:
46+
- os: 'ubuntu-latest'
47+
arch: 'x64'
48+
- os: 'windows-latest'
49+
arch: 'x64'
50+
- os: 'macOS-latest'
51+
arch: 'arm64'
5052
group:
51-
- Core
53+
- 'Core'
5254

5355
include:
54-
# for core tests on macOS (M-series chip)
55-
- version: '1.10' # oldest
56-
os: 'macOS-latest'
57-
arch: 'x64'
58-
group: 'Core'
59-
# - version: '1' # latest
60-
# os: 'macOS-latest'
61-
# arch: 'arm64'
62-
# group: 'Core'
56+
# for code quality tests
57+
- version: '1'
58+
node:
59+
os: 'ubuntu-latest'
60+
arch: 'x64'
61+
group: 'Code-Quality'
6362

6463
# for core tests (intermediate versions)
6564
# - version: '1.x'
66-
# os: 'ubuntu-latest'
67-
# arch: 'x64'
65+
# node:
66+
# os: 'ubuntu-latest'
67+
# arch: 'x64'
6868
# group: 'Core'
6969

70-
# for code quality tests
71-
- version: '1'
72-
os: 'ubuntu-latest'
73-
arch: 'x64'
74-
group: 'Code-Quality'
75-
7670
steps:
7771
- uses: actions/checkout@v4
7872
- uses: julia-actions/setup-julia@v2
7973
with:
8074
version: ${{ matrix.version }}
81-
arch: ${{ matrix.arch }}
75+
arch: ${{ matrix.node.arch }}
8276
- uses: julia-actions/cache@v2
8377
- uses: julia-actions/julia-buildpkg@v1
8478
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)