Skip to content

Commit

Permalink
Run tests with appropriate number of threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Feb 8, 2021
1 parent 1f23c0d commit 126b5a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
matrix:
version:
- '1.5'
- '1.6-nightly'
- 'nightly'
os:
- ubuntu-latest
Expand All @@ -29,6 +30,10 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Retrieve system info
run: |
julia -e "println(\"::set-output name=cpu_threads::\", Sys.CPU_THREADS)"
id: sysinfo
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -44,6 +49,8 @@ jobs:
git config --global user.name Tester
git config --global user.email [email protected]
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: ${{ steps.sysinfo.outputs.cpu_threads }}
continue-on-error: ${{ matrix.version == 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 126b5a5

Please sign in to comment.