-
Notifications
You must be signed in to change notification settings - Fork 7
124 lines (121 loc) · 3.75 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: CI
on: push
permissions:
contents: read
jobs:
includes_only:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# 5.6
- php-versions: '5.6'
phpunit-versions: '^5'
symfony-versions: '^2'
- php-versions: '5.6'
phpunit-versions: '^5'
symfony-versions: '^3'
# 7.1
- php-versions: '7.1'
phpunit-versions: '^7'
symfony-versions: '^2'
- php-versions: '7.1'
phpunit-versions: '^7'
symfony-versions: '^3'
- php-versions: '7.1'
phpunit-versions: '^7'
symfony-versions: '^4'
# 7.2
- php-versions: '7.2'
phpunit-versions: '^8'
symfony-versions: '^2'
- php-versions: '7.2'
phpunit-versions: '^8'
symfony-versions: '^3'
- php-versions: '7.2'
phpunit-versions: '^8'
symfony-versions: '^4'
- php-versions: '7.2'
phpunit-versions: '^8'
symfony-versions: '^5'
# 7.3
- php-versions: '7.3'
phpunit-versions: '^9'
symfony-versions: '^2'
- php-versions: '7.3'
phpunit-versions: '^9'
symfony-versions: '^3'
- php-versions: '7.3'
phpunit-versions: '^9'
symfony-versions: '^4'
- php-versions: '7.3'
phpunit-versions: '^9'
symfony-versions: '^5'
# 7.4
- php-versions: '7.4'
phpunit-versions: '^9'
symfony-versions: '^2'
- php-versions: '7.4'
phpunit-versions: '^9'
symfony-versions: '^3'
- php-versions: '7.4'
phpunit-versions: '^9'
symfony-versions: '^4'
- php-versions: '7.4'
phpunit-versions: '^9'
symfony-versions: '^5'
# 8.0
- php-versions: '8.0'
phpunit-versions: '^9'
symfony-versions: '^3'
- php-versions: '8.0'
phpunit-versions: '^9'
symfony-versions: '^4'
- php-versions: '8.0'
phpunit-versions: '^9'
symfony-versions: '^5'
- php-versions: '8.0'
phpunit-versions: '^9'
symfony-versions: '^6'
# 8.1
- php-versions: '8.1'
phpunit-versions: '^10'
symfony-versions: '^3'
- php-versions: '8.1'
phpunit-versions: '^10'
symfony-versions: '^4'
- php-versions: '8.1'
phpunit-versions: '^10'
symfony-versions: '^5'
- php-versions: '8.1'
phpunit-versions: '^10'
symfony-versions: '^6'
# 8.2
- php-versions: '8.2'
phpunit-versions: '^10'
symfony-versions: '^3'
- php-versions: '8.2'
phpunit-versions: '^10'
symfony-versions: '^4'
- php-versions: '8.2'
phpunit-versions: '^10'
symfony-versions: '^5'
- php-versions: '8.2'
phpunit-versions: '^10'
symfony-versions: '^6'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2, phpunit:${{ matrix.phpunit-versions }}
- name: Checkout
uses: actions/checkout@v1
- name: Remove composer.lock
run: rm composer.lock
- name: Require matrix symfony/yaml
run: composer require --no-update symfony/yaml:${{ matrix.symfony-versions }}
- run: composer update --no-dev --ignore-platform-reqs
- name: Test with phpunit
run: phpunit