Skip to content

Commit aa4ce21

Browse files
committed
Refactor CI matrix
1 parent 08331c5 commit aa4ce21

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

.github/workflows/Tests.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Use matrix.test.name here to avoid it taking up the entire window width
1212
name: test ${{matrix.test.name}} (${{ matrix.os }}, ${{ matrix.version }}, ${{ matrix.arch }}, ${{ matrix.num_threads }})
1313
runs-on: ${{ matrix.os }}
14-
continue-on-error: ${{ matrix.version == 'nightly' }}
14+
continue-on-error: ${{ matrix.version == 'dev' }}
1515

1616
strategy:
1717
fail-fast: false
@@ -36,38 +36,22 @@ jobs:
3636
- name: "everything else"
3737
args: "--skip essential/ad.jl mcmc/gibbs.jl mcmc/hmc.jl mcmc/abstractmcmc.jl mcmc/Inference.jl experimental/gibbs.jl mcmc/ess.jl"
3838
version:
39-
- '1.10'
4039
- '1'
4140
os:
4241
- ubuntu-latest
43-
- windows-latest
44-
- macOS-latest
4542
arch:
4643
- x64
47-
- x86
4844
num_threads:
4945
- 1
50-
- 2
51-
exclude:
52-
# With Windows and macOS, only run x64, 2 threads. We just want to see
53-
# some combination work on OSes other than Ubuntu.
54-
- os: windows-latest
55-
version: '1'
56-
- os: macOS-latest
57-
version: '1'
58-
- os: windows-latest
59-
arch: x86
60-
- os: macOS-latest
61-
arch: x86
46+
47+
# Extra combinations to test
48+
include:
49+
- arch: x86
50+
- num_threads: 2
6251
- os: windows-latest
63-
num_threads: 1
6452
- os: macOS-latest
65-
num_threads: 1
66-
# It's sufficient to test x86 with only Julia 1.10 and 1 thread.
67-
- arch: x86
68-
version: '1'
69-
- arch: x86
70-
num_threads: 2
53+
- version: 'min'
54+
- version: 'dev'
7155

7256
steps:
7357
- name: Print matrix variables

0 commit comments

Comments
 (0)