-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (40 loc) · 896 Bytes
/
test-matrix.yml
File metadata and controls
44 lines (40 loc) · 896 Bytes
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
name: 'Matrix Tests'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
matrix:
name: 'Run tests'
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1/4, 2/4, 3/4, 4/4]
steps:
- uses: actions/checkout@v4
- name: Run performance tests
uses: ./
id: run-tests
with:
urls: |
/
/sample-page/
plugins: |
./tests/dummy-plugin
shard: ${{ matrix.shard }}
merge-reports:
name: 'Merge reports'
# Merge reports after playwright-tests, even if some shards have failed
if: always()
needs: [matrix]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Merge performance test results
uses: ./
with:
action: 'merge'