-
Notifications
You must be signed in to change notification settings - Fork 2
72 lines (64 loc) · 2 KB
/
ci.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
name: CI
on: [push]
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bin/ci/phpcs
phpstan:
runs-on: ubuntu-latest
strategy:
matrix:
php: [--php=8.1, --php=8.2, --php=8.3]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/ci-env
- run: bin/ci/phpstan ${{ matrix.php }}
phpdd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/ci-env
- run: bin/ci/phpdd
composer-require-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/ci-env
- run: bin/ci/composer-require-checker
composer-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bin/ci/composer-validate
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bin/ci/shellcheck
unused-scanner:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: bin/ci/unused-scanner
phpunit-symfony-6:
runs-on: ubuntu-latest
strategy:
matrix:
php: [--php=8.1, --php=8.2, --php=8.3]
symfony: [--symfony=6.1, --symfony=6.2, --symfony=6.3, --symfony=6.4]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/ci-env
- run: bin/ci/phpunit ${{ matrix.php }} ${{ matrix.symfony }}
phpunit-symfony-7:
runs-on: ubuntu-latest
strategy:
matrix:
php: [--php=8.2, --php=8.3]
symfony: [--symfony=7.0, --symfony=7.1]
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/ci-env
- run: bin/ci/phpunit ${{ matrix.php }} ${{ matrix.symfony }}