Skip to content

Commit 3642613

Browse files
committed
CI
1 parent 951d2f7 commit 3642613

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
env:
9898
TSGO_HEREBY_RACE: ${{ (matrix.config.race && 'true') || 'false' }}
9999
TSGO_HEREBY_NOEMBED: ${{ (matrix.config.noembed && 'true') || 'false' }}
100-
TSGO_HEREBY_CONCURRENT_TEST_PROGRAMS: ${{ (matrix.config.concurrent-test-programs && 'true') || 'false' }}
100+
TSGO_HEREBY_TEST_PROGRAM_CONCURRENCY: ${{ (matrix.config.concurrent-test-programs && 'true') || 'false' }}
101101
TSGO_HEREBY_COVERAGE: ${{ (matrix.config.coverage && 'true') || 'false' }}
102102

103103
steps:

internal/core/concurrency.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ func parseConcurrency(v string) Concurrency {
2727
checkerCount := 4
2828

2929
switch strings.ToLower(v) {
30-
case "default", "auto":
30+
case "default", "auto", "true", "yes", "on":
3131
break
32-
case "single", "none":
32+
case "single", "none", "false", "no", "off":
3333
checkerCount = 1
3434
case "max":
3535
checkerCount = runtime.GOMAXPROCS(0)

0 commit comments

Comments
 (0)