Skip to content

Commit

Permalink
0.27.0
Browse files Browse the repository at this point in the history
run acceptance tests too
  • Loading branch information
nmanu1 committed Oct 30, 2023
1 parent 14b3afe commit 8644b3c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8644b3c

Please sign in to comment.