pierremtb/adhoc/e2e-no-cache-8-shard retry 50
This commit is contained in:
10
.github/workflows/e2e-tests.yml
vendored
10
.github/workflows/e2e-tests.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: E2E Tests
|
||||
on:
|
||||
push:
|
||||
branches: [ main, pierremtb/adhoc/e2e-no-cache-no-shard ]
|
||||
branches: [ main, pierremtb/adhoc/e2e-no-cache-8-shard ]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
@ -22,6 +22,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [namespace-profile-ubuntu-8-cores, namespace-profile-macos-8-cores, windows-16-cores]
|
||||
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8]
|
||||
shardTotal: [8]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v1
|
||||
@ -55,7 +57,7 @@ jobs:
|
||||
- name: Run playwright/electron flow on ubuntu (with retries)
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu --shard ${{ matrix.shardIndex }}/${{matrix.shardTotal}}
|
||||
env:
|
||||
CI: true
|
||||
FAIL_ON_CONSOLE_ERRORS: true
|
||||
@ -68,7 +70,7 @@ jobs:
|
||||
if: contains(matrix.os, 'windows')
|
||||
id: retry
|
||||
run: |
|
||||
yarn test:playwright:electron:windows
|
||||
yarn test:playwright:electron:windows --shard ${{ matrix.shardIndex }}/${{matrix.shardTotal}}
|
||||
env:
|
||||
CI: true
|
||||
FAIL_ON_CONSOLE_ERRORS: true
|
||||
@ -80,7 +82,7 @@ jobs:
|
||||
- name: Run playwright/electron flow on macos (with retries)
|
||||
if: contains(matrix.os, 'macos')
|
||||
run: |
|
||||
yarn test:playwright:electron:macos
|
||||
yarn test:playwright:electron:macos --shard ${{ matrix.shardIndex }}/${{matrix.shardTotal}}
|
||||
env:
|
||||
CI: true
|
||||
FAIL_ON_CONSOLE_ERRORS: true
|
||||
|
||||
@ -11,9 +11,9 @@ export default defineConfig({
|
||||
/* Fail the build on CI if you accidentally left test.only in the source code. */
|
||||
forbidOnly: true,
|
||||
/* Do not retry */
|
||||
retries: 10,
|
||||
retries: 50,
|
||||
/* Different amount of parallelism on CI and local. */
|
||||
workers: 4,
|
||||
workers: 1,
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
reporter: [
|
||||
['dot'],
|
||||
|
||||
Reference in New Issue
Block a user