Skip to content

Commit 0ea1839

Browse files
4 workers for feature tests
1 parent 909d9b2 commit 0ea1839

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/bun-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ jobs:
7272
if: github.event.pull_request.title != env.SKIP_PR_TITLE
7373
run: |
7474
set +e
75+
WORKERS_FLAG=""
76+
if [ "${{ matrix.test-dir }}" = "features" ]; then
77+
echo "Using 4 workers for 'features' suite"
78+
WORKERS_FLAG="--workers=4"
79+
fi
7580
for i in 1 2 3 4; do
76-
bun test tests/${{ matrix.test-dir }} --timeout 30000
81+
bun test tests/${{ matrix.test-dir }} --timeout 30000 $WORKERS_FLAG
7782
code=$?
7883
if [ $code -eq 0 ]; then
7984
exit 0

0 commit comments

Comments
 (0)