Skip to content

Commit

Permalink
Reduce CI (TuringLang#317)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
devmotion committed Aug 24, 2021
1 parent b8e448c commit 9e60f36
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ jobs:
- '1' # current stable version
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x86
- x64
num_threads:
- 1
- 2
exclude:
- os: windows-latest
arch: x86
- os: macOS-latest
include:
- version: '1'
os: ubuntu-latest
arch: x86
num_threads: 2
- version: '1'
os: windows-latest
arch: x64
num_threads: 2
- version: '1'
os: macOS-latest
arch: x64
num_threads: 2
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand All @@ -51,6 +56,8 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
coverage: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1 }}
env:
GROUP: All
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
Expand Down
9 changes: 0 additions & 9 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
status = [
"test (1.%, ubuntu-latest, x86, 1)",
"test (1.%, ubuntu-latest, x86, 2)",
"test (1, ubuntu-latest, x86, 1)",
"test (1, ubuntu-latest, x86, 2)",
"test (1.%, ubuntu-latest, x64, 1)",
"test (1.%, ubuntu-latest, x64, 2)",
"test (1, ubuntu-latest, x64, 1)",
"test (1, ubuntu-latest, x64, 2)",
"test (1.%, macOS-latest, x64, 1)",
"test (1.%, macOS-latest, x64, 2)",
"test (1, macOS-latest, x64, 1)",
"test (1, macOS-latest, x64, 2)",
"test (1.%, windows-latest, x64, 1)",
"test (1.%, windows-latest, x64, 2)",
"test (1, windows-latest, x64, 1)",
"test (1, windows-latest, x64, 2)",
"Turing.jl",
"format"
Expand Down

0 comments on commit 9e60f36

Please sign in to comment.