diff options
author | 2023-06-10 16:46:52 +0200 | |
---|---|---|
committer | 2023-06-10 16:59:54 +0200 | |
commit | 962a6d6ec4b467009b00b44980bcd74bf537d36f (patch) | |
tree | 1a5edbff1cb1bcce3371b2b732ce2a8d76bc7b5c | |
parent | d2956b66fe12d9eb1ea19a2d1d4d2596db4c38b2 (diff) | |
download | it-tools-962a6d6ec4b467009b00b44980bcd74bf537d36f.tar.gz it-tools-962a6d6ec4b467009b00b44980bcd74bf537d36f.tar.zst it-tools-962a6d6ec4b467009b00b44980bcd74bf537d36f.zip |
chore(ci): shard e2e tests
-rw-r--r-- | .github/workflows/e2e-tests.yml (renamed from .github/workflows/playwright.yml) | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/e2e-tests.yml index 13d0949..ba50567 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/e2e-tests.yml @@ -8,6 +8,9 @@ jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest + strategy: + matrix: + shard: [1/3, 2/3, 3/3] steps: - uses: actions/checkout@v3 - run: corepack enable @@ -20,4 +23,4 @@ jobs: - name: Install Playwright Browsers run: pnpm exec playwright install --with-deps - name: Run Playwright tests - run: pnpm exec playwright test + run: pnpm run test:e2e --shard=${{ matrix.shard }} |