-
Notifications
You must be signed in to change notification settings - Fork 12
73 lines (71 loc) · 1.98 KB
/
qa.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Quality Assurance
on:
pull_request
jobs:
phpunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: zip
coverage: none
- uses: ramsey/composer-install@v2
- run: vendor/bin/phpunit
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: zip
coverage: none
- uses: ramsey/composer-install@v2
- run: vendor/bin/phpstan analyse --error-format=github
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: zip
coverage: none
- uses: ramsey/composer-install@v2
- run: vendor/bin/phpcs --warning-severity=0
e2e:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
php: [8.1, 8.2, 8.3]
dependencies: [locked]
include:
- os: ubuntu-latest
php: 8.1
dependencies: lowest
- os: ubuntu-latest
php: 8.2
dependencies: lowest
- os: ubuntu-latest
php: 8.3
dependencies: lowest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: zip
coverage: none
- uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: "--no-dev --optimize-autoloader --prefer-dist"
- run: php bdi
- run: php bdi detect
- run: php bdi browser:google-chrome -vvv
- run: php bdi browser:firefox -vvv
- run: php bdi driver:chromedriver -vvv
- run: php bdi driver:geckodriver -vvv