Skip to content

Browser tests

Browser tests #2

name: Browser tests
on:
push:
tags:
- 'v4*'
jobs:
regression-headless-setup1:
name: "PHP 7.4/Node 14/PostgreSQL/Varnish/Redis/Multirepository"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "headless"
project-version: ${{ github.ref_name }}
test-suite: "--profile=regression --suite=headless"
test-setup-phase-1: "--profile=regression --suite=setup-headless --tags=~@part2 --mode=standard"
test-setup-phase-2: "--profile=regression --suite=setup-headless --tags=@part2 --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
job-count: 2
timeout: 90
php-image: "ezsystems/php:7.4-v2-node14"
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
regression-headless-setup2:
name: "PHP 8.1/Node 16/MySQL/Compatibility layer"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "headless"
project-version: ${{ github.ref_name }}
test-suite: "--profile=regression --suite=headless"
test-setup-phase-1: "--profile=regression --suite=setup-headless --tags=~@part2 --mode=standard"
test-setup-phase-2: "--profile=regression --suite=setup-headless --tags=@part2 --mode=standard"
setup: "doc/docker/base-dev.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
use-compatibility-layer: true
job-count: 2
timeout: 90
php-image: "ezsystems/php:8.1-v2-node16"
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}