mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-11740] improvements for multi browser e2e runs
This commit is contained in:
committed by
Adam Świderski
parent
0ba55fd2cd
commit
7207641633
@@ -0,0 +1,29 @@
|
|||||||
|
name: "Cron multibrowser E2E runs"
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 1-5' #At 00:00 on every day-of-week from Monday through Friday.
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
chrome:
|
||||||
|
name: "Cron browser E2E run - chrome"
|
||||||
|
uses: ./.github/workflows/pull-request.yml
|
||||||
|
with:
|
||||||
|
browser: chrome
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
firefox:
|
||||||
|
name: "Cron browser E2E run - firefox"
|
||||||
|
needs: chrome
|
||||||
|
uses: ./.github/workflows/pull-request.yml
|
||||||
|
with:
|
||||||
|
browser: firefox
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
webkit:
|
||||||
|
name: "Cron browser E2E run - webkit"
|
||||||
|
needs: firefox
|
||||||
|
uses: ./.github/workflows/pull-request.yml
|
||||||
|
with:
|
||||||
|
browser: webkit
|
||||||
|
secrets: inherit
|
||||||
@@ -4,8 +4,11 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
branches: [master, develop]
|
branches: [master, develop]
|
||||||
schedule:
|
workflow_call:
|
||||||
- cron: '0 12 * * 1-5' #At 12:00 on every day-of-week from Monday through Friday.
|
inputs:
|
||||||
|
browser:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -148,8 +151,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# For scheduled runs, include all browsers; for PR runs, only Chromium
|
# For workflow_call (cron) runs, use the specified browser; for PR runs, only Chromium
|
||||||
browser: ${{ github.event_name != 'pull_request' && fromJSON('["chrome", "firefox", "webkit", "msedge"]') || fromJSON('["chromium"]') }}
|
browser: ${{ github.event_name == 'pull_request' && fromJSON('["chromium"]') || fromJSON(format('["{0}"]', inputs.browser)) }}
|
||||||
e2e-suites:
|
e2e-suites:
|
||||||
- name: "create-actions"
|
- name: "create-actions"
|
||||||
id: 1
|
id: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user