Skip to content

Commit

Permalink
Use multi-threading for runtests (qutip#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang authored Jan 22, 2025
2 parents 4bbd765 + 3ccb84d commit 8491025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/Runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 4
GROUP: ${{ matrix.group }}
- uses: julia-actions/julia-processcoverage@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ format:
${JULIA} -e 'using JuliaFormatter; format(".")'

test:
${JULIA} --project -e 'using Pkg; Pkg.resolve(); Pkg.test()'
${JULIA} -t 4 --project -e 'using Pkg; Pkg.resolve(); Pkg.test()'

docs:
${JULIA} --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
Expand Down

0 comments on commit 8491025

Please sign in to comment.