From c5e6691db34092d8a642c16a41b5f4157ce8b03a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 14 Apr 2026 11:26:24 +0200 Subject: [PATCH] :wrench: Reduce integreation tests shards --- .github/workflows/tests.yml | 43 ++++++------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 97a55096dd..afcffb0ae7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -271,7 +271,7 @@ jobs: test-integration-1: if: ${{ !github.event.pull_request.draft }} - name: "Integration Tests 1/4" + name: "Integration Tests 1/3" runs-on: penpot-runner-02 container: penpotapp/devenv:latest needs: build-integration @@ -289,7 +289,7 @@ jobs: - name: Run Tests working-directory: ./frontend run: | - ./scripts/test-e2e --shard="1/4"; + ./scripts/test-e2e --shard="1/3"; - name: Upload test result uses: actions/upload-artifact@v7 @@ -302,7 +302,7 @@ jobs: test-integration-2: if: ${{ !github.event.pull_request.draft }} - name: "Integration Tests 2/4" + name: "Integration Tests 2/3" runs-on: penpot-runner-02 container: penpotapp/devenv:latest needs: build-integration @@ -320,7 +320,7 @@ jobs: - name: Run Tests working-directory: ./frontend run: | - ./scripts/test-e2e --shard="2/4"; + ./scripts/test-e2e --shard="2/3"; - name: Upload test result uses: actions/upload-artifact@v7 @@ -333,7 +333,7 @@ jobs: test-integration-3: if: ${{ !github.event.pull_request.draft }} - name: "Integration Tests 3/4" + name: "Integration Tests 3/3" runs-on: penpot-runner-02 container: penpotapp/devenv:latest needs: build-integration @@ -351,7 +351,7 @@ jobs: - name: Run Tests working-directory: ./frontend run: | - ./scripts/test-e2e --shard="3/4"; + ./scripts/test-e2e --shard="3/3"; - name: Upload test result uses: actions/upload-artifact@v7 @@ -361,34 +361,3 @@ jobs: path: frontend/test-results/ overwrite: true retention-days: 3 - - test-integration-4: - if: ${{ !github.event.pull_request.draft }} - name: "Integration Tests 4/4" - runs-on: penpot-runner-02 - container: penpotapp/devenv:latest - needs: build-integration - - steps: - - name: Checkout Repository - uses: actions/checkout@v6 - - - name: Restore Cache - uses: actions/cache/restore@v5 - with: - key: "integration-bundle-${{ github.sha }}" - path: frontend/resources/public - - - name: Run Tests - working-directory: ./frontend - run: | - ./scripts/test-e2e --shard="4/4"; - - - name: Upload test result - uses: actions/upload-artifact@v7 - if: always() - with: - name: integration-tests-result-4 - path: frontend/test-results/ - overwrite: true - retention-days: 3