Skip to content

Commit 3cb0a83

Browse files
committed
add multithreading CI test
1 parent 4c365b7 commit 3cb0a83

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,26 @@ jobs:
8383
- uses: julia-actions/julia-processcoverage@v1
8484
- uses: codecov/codecov-action@v5
8585

86+
multithreading-test:
87+
name: JULIA_NUM_THREADS=4,2
88+
runs-on: ubuntu-latest
89+
steps:
90+
- uses: actions/checkout@v6
91+
- uses: julia-actions/setup-julia@v2
92+
with:
93+
version: "1"
94+
arch: x64
95+
- uses: julia-actions/cache@v2
96+
- name: set preferences
97+
working-directory: .
98+
run: |
99+
echo '[JET]
100+
JET_DEV_MODE = true' > LocalPreferences.toml
101+
- uses: julia-actions/julia-buildpkg@latest
102+
- uses: julia-actions/julia-runtest@latest
103+
env:
104+
JULIA_NUM_THREADS: "4,2"
105+
86106
empty-loading-test:
87107
runs-on: ubuntu-latest
88108
steps:

0 commit comments

Comments
 (0)