mirror of https://github.com/vector-im/riot-web
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>pull/28217/head
parent
0a622f11fc
commit
08ee1b8d97
|
@ -37,7 +37,7 @@ export default defineConfig({
|
|||
},
|
||||
testDir: "playwright/e2e",
|
||||
outputDir: "playwright/test-results",
|
||||
workers: 1,
|
||||
workers: process.env.CI ? "50%" : 1,
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
|
||||
snapshotDir: "playwright/snapshots",
|
||||
|
|
Loading…
Reference in New Issue