From 8644b3cc5f9be188f97ae2f229923efea7164328 Mon Sep 17 00:00:00 2001 From: nmanu1 Date: Mon, 30 Oct 2023 16:33:07 -0400 Subject: [PATCH] 0.27.0 run acceptance tests too --- .github/workflows/playwright.yml | 10 ++++++++-- .github/workflows/release.yml | 7 +++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 2a8b1a0d4..485d28d80 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,5 +1,11 @@ name: Playwright Tests -on: workflow_call +on: + workflow_call: + inputs: + test_script: + required: false + type: string + default: npm run update-snapshots jobs: acceptance: @@ -20,7 +26,7 @@ jobs: uses: actions/checkout@v3 - uses: ./.github/setup-acceptance - - run: npm run update-snapshots -- --shard=${{ matrix.shard }}/4 + - run: ${{ inputs.test_script }} -- --shard=${{ matrix.shard }}/4 working-directory: e2e-tests - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10b316479..1ff0e913f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,3 +72,10 @@ jobs: needs: check-for-release if: needs.check-for-release.outputs.status == 'success' uses: ./.github/workflows/run-tests.yml + + run-acceptance: + needs: check-for-release + if: needs.check-for-release.outputs.status == 'success' + uses: ./.github/workflows/playwright.yml + with: + test_script: npm run playwright