Skip to content

Commit

Permalink
ci with multithreaded separate estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
thorek1 committed Jan 6, 2024
1 parent 9fbd6b7 commit 33df6a5
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
version: ['1.8', '1.9', '1.10']
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: [x64]
test_set: ["estimation", "higher_order_estimation", "higher_order", "plots", "basic"]
test_set: ["estimation_hmc", "estimation_tempering", "higher_order", "plots", "basic"]
exclude:
- version: '1.8'
os: macOS-latest
Expand All @@ -26,12 +26,6 @@ jobs:
os: macOS-latest
- version: '1.9'
os: windows-latest
- version: '1.9'
os: ubuntu-latest
test_set: "higher_order_estimation"
- version: '1.8'
os: ubuntu-latest
test_set: "higher_order_estimation"
include:
- os: ubuntu-latest
prefix: xvfb-run
Expand All @@ -45,6 +39,14 @@ jobs:
arch: x64
test_set: "basic"
allow_failure: true
- version: '1.10'
os: ubuntu-latest
arch: x64
test_set: "2nd_order_estimation"
- version: '1.10'
os: ubuntu-latest
arch: x64
test_set: "3rd_order_estimation"
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand All @@ -57,9 +59,9 @@ jobs:
- name: Set Custom Test Environment Variable (Unix)
if: matrix.os != 'windows-latest'
run: echo "TEST_SET=${{ matrix.test_set }}" >> $GITHUB_ENV
- name: Set JULIA_NUM_THREADS for Julia 1.9 on Ubuntu
if: matrix.version == '1.9' && matrix.os == 'ubuntu-latest'
run: echo "JULIA_NUM_THREADS=2" >> $GITHUB_ENV
- name: Set JULIA_NUM_THREADS for Julia 1.10 on Ubuntu
if: matrix.version == '1.10' && matrix.os == 'ubuntu-latest' && (matrix.test_set == 'estimation_hmc' || matrix.test_set == 'estimation_tempering' || matrix.test_set == '2nd_order_estimation' || matrix.test_set == '3rd_order_estimation')
run: echo "JULIA_NUM_THREADS=auto" >> $GITHUB_ENV
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
Expand Down

0 comments on commit 33df6a5

Please sign in to comment.