File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,26 @@ jobs:
1616
1717 # taken from example on julia-actions/runtest@v1
1818 test :
19- runs-on : ${{ matrix.os }}
2019 strategy :
2120 matrix :
22- julia-version : ['1','1.6']
21+ julia-num-threads : [1,2,4,8]
22+ julia-version : ['1.8']
2323 julia-arch : [x64]
2424 os : [ubuntu-latest]
25+ # 1, 2, 4, 8 thread test
26+ name : Threads - ${{matrix.julia-num-threads}}
27+ env :
28+ JULIA_NUM_THREADS : ${{ matrix.julia-num-threads }}
29+ runs-on : ${{ matrix.os }}
2530
2631 steps :
2732 - uses : actions/checkout@v2
2833 - uses : julia-actions/setup-julia@v1
2934 with :
3035 version : ${{ matrix.julia-version }}
3136 arch : ${{ matrix.julia-arch }}
37+ - name : " Confirm Number of Threads"
38+ run : julia -e 'println(Threads.nthreads())'
3239 - uses : julia-actions/julia-buildpkg@v1
3340 - uses : julia-actions/julia-runtest@v1
3441 with :
You can’t perform that action at this time.
0 commit comments