Browser tests #2575
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Browser tests | |
on: | |
workflow_dispatch: | |
inputs: | |
send-success-notification: | |
description: 'Send a notification when the tests pass' | |
required: false | |
type: boolean | |
default: false | |
project-version: | |
description: 'Fill only when the tests should run on a stable release' | |
required: false | |
type: string | |
default: '' | |
push: | |
branches: | |
- master | |
- "[0-9]+.[0-9]+" | |
pull_request: ~ | |
jobs: | |
regression-oss-setup1: | |
name: "PHP 7.3/PostgreSQL/Varnish/Redis" | |
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main | |
with: | |
project-edition: "oss" | |
project-version: ${{ github.event.inputs.project-version }} | |
test-suite: "--profile=regression --suite=oss" | |
test-setup-phase-1: "--profile=regression --suite=setup-oss --mode=standard" | |
setup: "doc/docker/base-dev.yml:doc/docker/db-postgresql.yml:doc/docker/varnish.yml:doc/docker/redis.yml:doc/docker/selenium.yml" | |
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} | |
multirepository: true | |
php-image: "ghcr.io/ibexa/docker/php:7.3-node14" | |
job-count: 2 | |
timeout: 60 | |
secrets: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
regression-oss-setup2: | |
name: "PHP 7.4/MySQL" | |
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main | |
with: | |
project-edition: "oss" | |
project-version: ${{ github.event.inputs.project-version }} | |
test-suite: "--profile=regression --suite=oss" | |
test-setup-phase-1: "--profile=regression --suite=setup-oss --mode=standard" | |
setup: "doc/docker/base-dev.yml:doc/docker/selenium.yml" | |
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} | |
multirepository: true | |
php-image: "ghcr.io/ibexa/docker/php:7.4-node16" | |
job-count: 2 | |
timeout: 60 | |
secrets: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
regression-oss-setup3: | |
name: "PHP 8.1/MySQL" | |
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main | |
with: | |
project-edition: "oss" | |
project-version: ${{ github.event.inputs.project-version }} | |
test-suite: "--profile=regression --suite=oss" | |
test-setup-phase-1: "--profile=regression --suite=setup-oss --mode=standard" | |
php-image: "ghcr.io/ibexa/docker/php:8.1-node18" | |
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} | |
job-count: 2 | |
timeout: 60 | |
secrets: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |