diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index 047a1786d7..e03946326c 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -14,6 +14,11 @@ on: required: false type: string default: "" + spec: + description: "Spec files to run, one per line" + required: false + type: string + default: "" matrix: description: "Matrix jobs" required: false @@ -350,6 +355,7 @@ jobs: browser: ${{ env.BROWSER_PATH }} install: false config-file: cypress_ci_custom.config.ts + spec: ${{ inputs.spec }} working-directory: app/client env: "NODE_ENV=development" diff --git a/.github/workflows/pr-cypress.yml b/.github/workflows/pr-cypress.yml index edfe7314e7..4cf19d9f3e 100644 --- a/.github/workflows/pr-cypress.yml +++ b/.github/workflows/pr-cypress.yml @@ -6,6 +6,9 @@ on: tags: required: true type: string + spec: + required: false + type: string matrix: required: true type: string @@ -71,6 +74,7 @@ jobs: with: pr: ${{ github.event.number }} tags: ${{ inputs.tags }} + spec: ${{ inputs.spec }} matrix: ${{ inputs.matrix }} ci-test-result: