From 3160965d77f56d5edfdab0d8764ca38f046f24d3 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Tue, 21 Nov 2023 18:54:12 +0400 Subject: [PATCH] Remove shard handling for Puppeteer --- .github/workflows/end2end-test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/end2end-test.yml b/.github/workflows/end2end-test.yml index 0283cc1ae5897..777549e334aa9 100644 --- a/.github/workflows/end2end-test.yml +++ b/.github/workflows/end2end-test.yml @@ -17,7 +17,7 @@ concurrency: jobs: e2e-puppeteer: - name: Puppeteer - ${{ matrix.part }} + name: Puppeteer runs-on: ubuntu-latest if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} strategy: @@ -40,8 +40,7 @@ jobs: - name: Running the tests run: | - npx wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests - npx wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % ${{ matrix.totalParts }} == ${{ matrix.part }} - 1' < ~/.jest-e2e-tests ) + npx wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" - name: Archive debug artifacts (screenshots, HTML snapshots) uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3