Skip to content

Commit 9e60f36

Browse files
committed
Reduce CI (#317)
Similar to what we decided to use for JuliaGaussianProcesses. Tests with Julia 1.3 are important since we state that DynamicPPL is compatible with 1.3 and it is the only way that we discover if we break something by using e.g. language features that are not available on Julia 1.3 before making a release. However, I think it should be sufficient to perform these tests with ubuntu. Also I think it is sufficient to test macOS and Windows with Julia 1 with `JULIA_NUM_THREADS = 2`.
1 parent b8e448c commit 9e60f36

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.github/workflows/CI.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ jobs:
2020
- '1' # current stable version
2121
os:
2222
- ubuntu-latest
23-
- macOS-latest
24-
- windows-latest
2523
arch:
26-
- x86
2724
- x64
2825
num_threads:
2926
- 1
3027
- 2
31-
exclude:
32-
- os: windows-latest
33-
arch: x86
34-
- os: macOS-latest
28+
include:
29+
- version: '1'
30+
os: ubuntu-latest
3531
arch: x86
32+
num_threads: 2
33+
- version: '1'
34+
os: windows-latest
35+
arch: x64
36+
num_threads: 2
37+
- version: '1'
38+
os: macOS-latest
39+
arch: x64
40+
num_threads: 2
3641
steps:
3742
- uses: actions/checkout@v2
3843
- uses: julia-actions/setup-julia@v1
@@ -51,6 +56,8 @@ jobs:
5156
${{ runner.os }}-
5257
- uses: julia-actions/julia-buildpkg@latest
5358
- uses: julia-actions/julia-runtest@latest
59+
with:
60+
coverage: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1 }}
5461
env:
5562
GROUP: All
5663
JULIA_NUM_THREADS: ${{ matrix.num_threads }}

bors.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
status = [
2-
"test (1.%, ubuntu-latest, x86, 1)",
3-
"test (1.%, ubuntu-latest, x86, 2)",
4-
"test (1, ubuntu-latest, x86, 1)",
52
"test (1, ubuntu-latest, x86, 2)",
63
"test (1.%, ubuntu-latest, x64, 1)",
74
"test (1.%, ubuntu-latest, x64, 2)",
85
"test (1, ubuntu-latest, x64, 1)",
96
"test (1, ubuntu-latest, x64, 2)",
10-
"test (1.%, macOS-latest, x64, 1)",
11-
"test (1.%, macOS-latest, x64, 2)",
12-
"test (1, macOS-latest, x64, 1)",
137
"test (1, macOS-latest, x64, 2)",
14-
"test (1.%, windows-latest, x64, 1)",
15-
"test (1.%, windows-latest, x64, 2)",
16-
"test (1, windows-latest, x64, 1)",
178
"test (1, windows-latest, x64, 2)",
189
"Turing.jl",
1910
"format"

0 commit comments

Comments
 (0)