Skip to content

Commit ce38eae

Browse files
committed
Allow manually running e2e tests
1 parent be6a67c commit ce38eae

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/end-to-end-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ on:
1313
NPM_CLIENT:
1414
type: string
1515
default: 'yarn'
16+
RUN_FULL_TESTS:
17+
type: boolean
18+
default: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') }}
19+
workflow_dispatch:
20+
inputs:
21+
RUN_FULL_TESTS:
22+
type: boolean
23+
default: true
1624

1725
jobs:
1826
pipeline:
@@ -53,7 +61,7 @@ jobs:
5361

5462
- name: Run end-to-end tests
5563
run: |
56-
if [[ "$GITHUB_REF" == "refs/heads/main" ]] || [[ "$GITHUB_REF" =~ ^refs/heads/release/ ]]; then
64+
if [[ "${{ inputs.RUN_FULL_TESTS }}" == "true" ]]; then
5765
yarn e2etest:full
5866
else
5967
yarn e2etest:smoketest

0 commit comments

Comments
 (0)