Skip to content

Commit 51c1a92

Browse files
committed
Run CI with nthreads=1 and nthreads=2
1 parent 9a31961 commit 51c1a92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ jobs:
1313
strategy:
1414
matrix:
1515
julia-version: ['1.3', 'nightly']
16+
nthreads: ['1', '2']
1617
fail-fast: false
17-
name: Test Julia ${{ matrix.julia-version }}
18+
name: Test Julia ${{ matrix.julia-version }} nthreads=${{ matrix.nthreads }}
1819
steps:
1920
- uses: actions/checkout@v2
2021
- name: Setup julia
2122
uses: julia-actions/setup-julia@v1
2223
with:
2324
version: ${{ matrix.julia-version }}
2425
- uses: julia-actions/julia-runtest@master
26+
env:
27+
JULIA_NUM_THREADS: ${{ matrix.nthreads }}
2528
- uses: julia-actions/julia-uploadcodecov@latest
2629
env:
2730
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)