diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index d87d4b6..6191392 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -7,6 +7,11 @@ on: required: false type: boolean default: true + project-version: + description: 'Fill only when the tests should run on a stable release' + required: false + type: string + default: '' push: branches: - master @@ -19,7 +24,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=regression --suite=experience" test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard" test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard" @@ -38,7 +43,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=regression --suite=experience" test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard" test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard" @@ -58,7 +63,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=regression --suite=experience" test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard" test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard" @@ -78,7 +83,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=browser --suite=page-builder" test-setup-phase-1: "--mode=standard --profile=setup --suite=MapHost" setup: "doc/docker/base-dev.yml:doc/docker/multihost.yml:doc/docker/selenium.yml" @@ -93,7 +98,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=browser --suite=page-builder" test-setup-phase-1: "--mode=standard --profile=setup --suite=MapURI" send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} @@ -107,7 +112,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=browser --suite=page-builder" test-setup-phase-1: "--mode=standard --profile=setup --suite=URIElement" send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} @@ -121,7 +126,7 @@ jobs: uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main with: project-edition: "experience" - project-version: "^3.3.x-dev" + project-version: ${{ github.event.inputs.project-version }} test-suite: "--profile=browser --suite=page-builder" test-setup-phase-1: "--mode=standard --profile=setup --suite=CompoundMapURIMapHost" setup: "doc/docker/base-dev.yml:doc/docker/multihost.yml:doc/docker/selenium.yml"