Skip to content

Commit 390fad4

Browse files
refactor(tests): reallow concurrency
1 parent ea69882 commit 390fad4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ jobs:
192192
run: npm install
193193

194194
- name: Test
195-
run: npm run test:${{matrix.build-type}} -- --maxWorkers 4 --minWorkers 2 --maxConcurrency 2
195+
# run: npm run test:${{matrix.build-type}} -- --maxWorkers 4 --minWorkers 2 --maxConcurrency 2
196+
run: npm run test:${{matrix.build-type}}
196197

197198
test-example:
198199
runs-on: ubuntu-latest

test/vitest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { availableParallelism } from 'node:os';
1+
// import { availableParallelism } from 'node:os';
22

33
import { defineConfig } from 'vitest/config';
44

@@ -12,7 +12,7 @@ export default defineConfig({
1212
test: {
1313
reporters: REPORTERS,
1414
disableConsoleIntercept: true,
15-
maxConcurrency: Math.max(availableParallelism() / 2, 5),
15+
// maxConcurrency: Math.max(availableParallelism() / 2, 5),
1616
printConsoleTrace: true,
1717
passWithNoTests: false,
1818
include: ['test/**/*.js'],

0 commit comments

Comments
 (0)