We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 909d9b2 commit 0ea1839Copy full SHA for 0ea1839
.github/workflows/bun-test.yml
@@ -72,8 +72,13 @@ jobs:
72
if: github.event.pull_request.title != env.SKIP_PR_TITLE
73
run: |
74
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
80
for i in 1 2 3 4; do
- bun test tests/${{ matrix.test-dir }} --timeout 30000
81
+ bun test tests/${{ matrix.test-dir }} --timeout 30000 $WORKERS_FLAG
82
code=$?
83
if [ $code -eq 0 ]; then
84
exit 0
0 commit comments