-
Notifications
You must be signed in to change notification settings - Fork 146
48 lines (46 loc) · 1.18 KB
/
test-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Test / E2E Runner
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
chrome_e2e_gamut_tests:
name: >
E2E - ${{
format(
'WP{0} + PHP{1} + {2} theme',
matrix.wp,
matrix.php,
matrix.theme == '' && 'TwentyTwentyThree' || 'Go'
)
}}
uses: ./.github/workflows/test-e2e-cypress.yml
strategy:
fail-fast: false
matrix:
wp: # Test against Prev-Prev Major, Prev-Major, and current Major release versions.
- "6.4"
- "6.5"
- "6.6"
theme:
- "https://downloads.wordpress.org/theme/go.zip"
- "" # Default theme is TwentyTwentyThree
php: # Test against minimum and latest PHP versions.
- "7.4"
- "8.3"
with:
wpVersion: "WordPress/WordPress#${{matrix.wp}}"
theme: ${{matrix.theme}}
phpVersion: ${{matrix.php}}
concurrency:
group: >
${{
format(
'chrome-e2e-WP{0}-PHP{1}-{2}',
matrix.wp,
matrix.php,
matrix.theme == '' && 'twentytwentythree' || 'go'
)
}}
cancel-in-progress: true