15
15
name : " PHPUnit"
16
16
runs-on : " ${{ matrix.os }}"
17
17
env :
18
- SYMFONY_REQUIRE : ${{matrix.symfony-require }}
18
+ SYMFONY_REQUIRE : ${{matrix.symfony-version }}
19
19
20
20
strategy :
21
21
matrix :
@@ -26,13 +26,11 @@ jobs:
26
26
- " 8.0"
27
27
- " 8.1"
28
28
- " 8.2"
29
- stability :
30
- - " stable"
31
29
symfony-version :
32
- - " 5.4.x "
33
- - " 6.3.x "
34
- - " 6.4.x "
35
- - " 7.0.x "
30
+ - " 5.4.* "
31
+ - " 6.3.* "
32
+ - " 6.4.* "
33
+ - " 7.0.* "
36
34
driver-version :
37
35
- " stable"
38
36
dependencies :
@@ -42,23 +40,22 @@ jobs:
42
40
os : " ubuntu-20.04"
43
41
php-version : " 7.4"
44
42
driver-version : " 1.5.0"
45
- stability : " stable"
46
43
symfony-version : " 5.4.*"
47
44
exclude :
48
45
- php-version : " 7.4"
49
- symfony-version : " 6.3.x "
46
+ symfony-version : " 6.3.* "
50
47
- php-version : " 7.4"
51
- symfony-version : " 6.4.x "
48
+ symfony-version : " 6.4.* "
52
49
- php-version : " 8.0"
53
- symfony-version : " 6.3.x "
50
+ symfony-version : " 6.3.* "
54
51
- php-version : " 8.0"
55
- symfony-version : " 6.4.x "
52
+ symfony-version : " 6.4.* "
56
53
- php-version : " 7.4"
57
- symfony-version : " 7.0.x "
54
+ symfony-version : " 7.0.* "
58
55
- php-version : " 8.0"
59
- symfony-version : " 7.0.x "
56
+ symfony-version : " 7.0.* "
60
57
- php-version : " 8.1"
61
- symfony-version : " 7.0.x "
58
+ symfony-version : " 7.0.* "
62
59
63
60
services :
64
61
mongodb :
@@ -91,17 +88,11 @@ jobs:
91
88
uses : " shivammathur/setup-php@v2"
92
89
with :
93
90
php-version : " ${{ matrix.php-version }}"
94
- tools : " pecl"
91
+ tools : " pecl, flex "
95
92
extensions : " mongodb-${{ matrix.driver-version }}"
96
93
coverage : " pcov"
97
94
ini-values : " zend.assertions=1"
98
95
99
- - name : " Globally install symfony/flex"
100
- run : " composer global require --no-progress --no-scripts --no-plugins symfony/flex && composer global config --no-plugins allow-plugins.symfony/flex true"
101
-
102
- - name : " Set minimum-stability to stable in Composer"
103
- run : " composer config minimum-stability ${{ matrix.stability }}"
104
-
105
96
- name : " Install dependencies with Composer"
106
97
uses : " ramsey/composer-install@v2"
107
98
with :
0 commit comments