mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
Keep three workers for five E2E shards
This commit is contained in:
1 parent
dce6e4b500
commit
b0ea706bc1
2 files changed
+2
-2
No files matched your search
@@ -115,7 +115,7 @@ runs:
|
||||
E2E_TEST_PARTITION: ${{ inputs.partition }}
|
||||
run: |
|
||||
# Select only the E2E test files. Playwright runs setup as a dependency.
|
||||
args=(--workers=4 'e2e/tests/')
|
||||
args=(--workers=3 'e2e/tests/')
|
||||
if [ -n "$E2E_TEST_PARTITION" ]; then
|
||||
args+=(--shard="$E2E_TEST_PARTITION")
|
||||
fi
|
||||
|
||||
@@ -95,7 +95,7 @@ each invocation.
|
||||
- Keep tests in a file independent even though Playwright runs them in
|
||||
declaration order by default.
|
||||
|
||||
CI runs five isolated Playwright shards with four workers each. Files have a
|
||||
CI runs five isolated Playwright shards with three workers each. Files have a
|
||||
fixed assignment based on measured CI duration to keep the slowest job short:
|
||||
|
||||
```txt
|
||||
|
||||
Reference in new issue
Block a user