40
40
fail-fast : true
41
41
matrix :
42
42
php : [8.3, 8.4]
43
- phpunit : ['10.5.35', '11.5.3', '12.0.0']
43
+ phpunit : ['10.5.35', '11.5.3', '12.0.0', '12.1.0' ]
44
44
stability : [prefer-lowest, prefer-stable]
45
45
46
46
name : PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }}
@@ -64,19 +64,12 @@ jobs:
64
64
- name : Set Framework version
65
65
run : composer config version "13.x-dev"
66
66
67
- - name : Set PHPUnit
68
- uses : nick-fields/retry@v3
69
- with :
70
- timeout_minutes : 5
71
- max_attempts : 5
72
- command : composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update
73
-
74
67
- name : Install dependencies
75
68
uses : nick-fields/retry@v3
76
69
with :
77
70
timeout_minutes : 5
78
71
max_attempts : 5
79
- command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
72
+ command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}"
80
73
81
74
- name : Execute tests
82
75
run : vendor/bin/phpunit --display-deprecation ${{ matrix.stability == 'prefer-stable' && '--fail-on-deprecation' || '' }}
@@ -103,11 +96,8 @@ jobs:
103
96
fail-fast : true
104
97
matrix :
105
98
php : [8.3, 8.4]
106
- phpunit : ['11.5.3']
99
+ phpunit : ['10.5.35', ' 11.5.3', '12.0.0', '12.1.0 ']
107
100
stability : [prefer-lowest, prefer-stable]
108
- exclude :
109
- - php : 8.4
110
- stability : prefer-lowest
111
101
112
102
name : PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows
113
103
@@ -131,20 +121,12 @@ jobs:
131
121
- name : Set Framework version
132
122
run : composer config version "13.x-dev"
133
123
134
- - name : Set PHPUnit
135
- uses : nick-fields/retry@v3
136
- with :
137
- timeout_minutes : 5
138
- max_attempts : 5
139
- command : composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update
140
- shell : bash
141
-
142
124
- name : Install dependencies
143
125
uses : nick-fields/retry@v3
144
126
with :
145
127
timeout_minutes : 5
146
128
max_attempts : 5
147
- command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
129
+ command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with="phpunit/phpunit:~${{ matrix.phpunit }}"
148
130
149
131
- name : Execute tests
150
132
run : vendor/bin/phpunit
0 commit comments