Skip to content

Commit

Permalink
[CI] Added project version input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Jul 20, 2023
1 parent 10e6498 commit c438d7b
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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' }}
Expand All @@ -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' }}
Expand All @@ -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"
Expand Down

0 comments on commit c438d7b

Please sign in to comment.