Skip to content

Commit 1040a20

Browse files
committed
Add input for number of Julia threads
1 parent 1c5b5f1 commit 1040a20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/Tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ on:
3232
default: "ubuntu-latest"
3333
required: false
3434
type: string
35+
nthreads:
36+
description: "The number of Julia threads"
37+
default: 1
38+
required: false
39+
type: number
3540
cache:
3641
description: "Use the julia-actions/cache action for caching"
3742
default: true
@@ -108,6 +113,7 @@ jobs:
108113
coverage: "${{ inputs.coverage }}"
109114
env:
110115
GROUP: "${{ inputs.group }}"
116+
JULIA_NUM_THREADS: "${{ inputs.nthreads }}"
111117

112118
- uses: julia-actions/julia-processcoverage@v1
113119
if: "${{ inputs.coverage }}"

0 commit comments

Comments
 (0)