You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Use multiple workers in Playwright CI to make use of multiple cores (#12769)
* Use multiple workers in Playwright CI to make use of multiple cores Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0a622f11fc
commit
08ee1b8d97
@ -37,7 +37,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
testDir: "playwright/e2e",
|
testDir: "playwright/e2e",
|
||||||
outputDir: "playwright/test-results",
|
outputDir: "playwright/test-results",
|
||||||
workers: 1,
|
workers: process.env.CI ? "50%" : 1,
|
||||||
retries: process.env.CI ? 2 : 0,
|
retries: process.env.CI ? 2 : 0,
|
||||||
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
||||||
snapshotDir: "playwright/snapshots",
|
snapshotDir: "playwright/snapshots",
|
||||||
|
Reference in New Issue
Block a user