Skip to content

Commit

Permalink
[CI] Trigger browser tests on tag release (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon authored Aug 17, 2022
1 parent 1a74ee0 commit 19ffafa
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/browser-tests-v3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Browser tests

on:
push:
tags:
- 'v3*'

jobs:
regression-oss-setup1:
name: "PHP 7.4/PostgreSQL/Varnish/Redis"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "oss"
project-version: ${{ github.ref_name }}
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
job-count: 2
timeout: 60
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
regression-oss-setup2:
name: "PHP 7.3/MySQL"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "oss"
project-version: ${{ github.ref_name }}
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: "ezsystems/php:7.3-v2-node14"
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.ref_name }}
test-suite: "--profile=regression --suite=oss"
test-setup-phase-1: "--profile=regression --suite=setup-oss --mode=standard"
php-image: "ezsystems/php:8.1-v2-node16"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
job-count: 2
timeout: 60
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
41 changes: 41 additions & 0 deletions .github/workflows/browser-tests-v4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Browser tests

on:
push:
tags:
- 'v4*'

jobs:
regression-oss-setup1:
name: "PHP 7.4/Node 14/PostgreSQL/Varnish/Redis"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "oss"
project-version: ${{ github.ref_name }}
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: "ezsystems/php:7.4-v2-node14"
job-count: 2
timeout: 60
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
regression-oss-setup2:
name: "PHP 8.1/Node 16/MySQL/Compatibility layer"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "oss"
project-version: ${{ github.ref_name }}
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
use-compatibility-layer: true
job-count: 2
timeout: 60
php-image: "ezsystems/php:8.1-v2-node16"
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 19ffafa

Please sign in to comment.