diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml index b892d40f206..18eb6ec488c 100644 --- a/.github/workflows/ci-test-custom-script.yml +++ b/.github/workflows/ci-test-custom-script.yml @@ -9,6 +9,10 @@ on: description: "This is the PR number in case the workflow is being called in a pull request" required: false type: number + tags: + description: "These are the optional tags a developer can specify in order to run a subset of all the tests" + required: false + type: string jobs: ci-test: @@ -383,6 +387,7 @@ jobs: CYPRESS_DB_PWD: ${{ secrets.CYPRESS_DB_PWD }} CYPRESS_S3_ACCESS: ${{ secrets.CYPRESS_S3_ACCESS }} CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }} + CYPRESS_grepTags: ${{ inputs.tags }} # This is a comma separated list of tags to run a subset of the suite CYPRESS_SKIP_FLAKY: true with: browser: ${{ env.BROWSER_PATH }} diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml index 0309f587827..8c653a611a4 100644 --- a/.github/workflows/integration-tests-command.yml +++ b/.github/workflows/integration-tests-command.yml @@ -19,6 +19,7 @@ jobs: Workflow: `${{ github.workflow }}`. Commit: `${{ github.event.client_payload.slash_command.args.named.sha }}`. PR: ${{ github.event.client_payload.pull_request.number }}. + Tags: `${{ github.event.client_payload.slash_command.args.named.tags }}`. server-build: name: server-build @@ -69,6 +70,7 @@ jobs: secrets: inherit with: pr: ${{ github.event.client_payload.pull_request.number }} + tags: ${{ github.event.client_payload.slash_command.args.named.tags }} ci-test-result: needs: [ci-test]