Skip to content

Commit

Permalink
Reduce and speed up CI (#1689)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Aug 24, 2021
1 parent 0278a3c commit 8f966de
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/DynamicHMC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
coverage: false
env:
STAGE: dynamichmc
2 changes: 2 additions & 0 deletions .github/workflows/Numerical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ jobs:
${{ runner.os }}-test-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
coverage: false
env:
STAGE: numerical
2 changes: 2 additions & 0 deletions .github/workflows/StanCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
with:
coverage: false
env:
STAGE: stan
21 changes: 12 additions & 9 deletions .github/workflows/TuringCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@ jobs:
- '1'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x86
- x64
num_threads:
- 1
- 2
exclude:
- os: windows-latest
include:
- version: '1'
os: ubuntu-latest
arch: x86
- os: macOS-latest
arch: x86
- os: macOS-latest
num_threads: 2
- os: windows-latest
- 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
Expand All @@ -52,6 +53,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:
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
- uses: julia-actions/julia-processcoverage@v1
Expand Down

0 comments on commit 8f966de

Please sign in to comment.