@@ -22,17 +22,23 @@ jobs:
2222 matrix :
2323 varnish-version : ['6.6']
2424 varnish-modules-version : ['0.18.0']
25- php : ['7.3 ', '7.4', '8.0 ', '8.1 ']
25+ php : ['8.1 ', '8.2 ', '8.3 ']
2626 include :
27- - php : ' 7.4'
28- symfony-version : ' 4.3.*'
29- - php : ' 7.4'
30- symfony-version : ' 5.0.*'
3127 - php : ' 8.1'
3228 symfony-version : ' 6.*'
3329 - php : ' 8.1'
3430 varnish-version : ' 7.1'
3531 varnish-modules-version : ' 0.20.0'
32+ - php : ' 8.2'
33+ symfony-version : ' 7.*'
34+ - php : ' 8.2'
35+ varnish-version : ' 7.1'
36+ varnish-modules-version : ' 0.20.0'
37+ - php : ' 8.3'
38+ symfony-version : ' 7.*'
39+ - php : ' 8.3'
40+ varnish-version : ' 7.1'
41+ varnish-modules-version : ' 0.20.0'
3642
3743 steps :
3844 - name : Setup PHP
5662 run : |
5763 composer require --no-update ${DEPENDENCIES}
5864 composer update --prefer-dist --no-interaction --no-progress
59- vendor/bin/simple-phpunit install
6065
6166 - name : Execute tests
62- run : vendor/bin/simple-phpunit -v
63-
64- legacyPHP :
65- name : PHP 7.2 Varnish 6
66- runs-on : ubuntu-20.04
67- env :
68- VARNISH_VERSION : ' 6.6'
69- VARNISH_MODULES_VERSION : ' 0.18.0'
70-
71- steps :
72- - name : Setup PHP
73- uses : shivammathur/setup-php@v2
74- with :
75- php-version : 7.2
76- tools : composer:v2
77- coverage : none
78-
79- - name : Checkout code
80- uses : actions/checkout@v2
81-
82- - name : Setup Varnish and Nginx
83- run : |
84- sh ${GITHUB_WORKSPACE}/.github/workflows/setup-varnish.sh
85- sh ${GITHUB_WORKSPACE}/.github/workflows/setup-nginx.sh
86-
87- - name : Install composer dependencies
88- run : |
89- composer require --no-update ${DEPENDENCIES}
90- composer update --prefer-dist --no-interaction --no-progress
91- vendor/bin/simple-phpunit install
92-
93- - name : Execute tests
94- run : vendor/bin/simple-phpunit -v
67+ run : vendor/bin/phpunit
9568
9669 varnish5 :
9770 name : PHP ${{ matrix.php }} Legacy Varnish 5
10477 fail-fast : false
10578 matrix :
10679 include :
107- - php : ' 7.4 '
80+ - php : ' 8.1 '
10881
10982 steps :
11083 - name : Setup PHP
@@ -125,10 +98,9 @@ jobs:
12598 - name : Install composer dependencies
12699 run : |
127100 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
128- vendor/bin/simple-phpunit install
129101
130102 - name : Execute tests
131- run : vendor/bin/simple- phpunit -v
103+ run : vendor/bin/phpunit
132104
133105 varnish4 :
134106 name : PHP ${{ matrix.php }} Legacy Varnish 4
@@ -141,7 +113,7 @@ jobs:
141113 fail-fast : false
142114 matrix :
143115 include :
144- - php : ' 7.4 '
116+ - php : ' 8.1 '
145117
146118 steps :
147119 - name : Setup PHP
@@ -162,10 +134,9 @@ jobs:
162134 - name : Install composer dependencies
163135 run : |
164136 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
165- vendor/bin/simple-phpunit install
166137
167138 - name : Execute tests
168- run : vendor/bin/simple- phpunit -v
139+ run : vendor/bin/phpunit
169140
170141 lowest :
171142 name : PHP ${{ matrix.php }} Lowest, Varnish 3
@@ -178,7 +149,7 @@ jobs:
178149 strategy :
179150 fail-fast : false
180151 matrix :
181- php : ['7.2 ']
152+ php : ['8.1 ']
182153
183154 steps :
184155 - name : Setup PHP
@@ -199,10 +170,9 @@ jobs:
199170 - name : Install composer dependencies
200171 run : |
201172 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
202- vendor/bin/simple-phpunit install
203173
204174 - name : Execute tests
205- run : vendor/bin/simple- phpunit -v
175+ run : vendor/bin/phpunit
206176
207177 coverage :
208178 name : Code Coverage
@@ -215,7 +185,7 @@ jobs:
215185 - name : Setup PHP
216186 uses : shivammathur/setup-php@v2
217187 with :
218- php-version : 7.4
188+ php-version : 8.2
219189 tools : composer:v2
220190 coverage : xdebug
221191
@@ -229,14 +199,8 @@ jobs:
229199
230200 - name : Install dependencies
231201 run : |
232- composer require "friends-of-phpspec/phpspec-code-coverage:^4 .3.2 " --no-interaction --no-update
202+ composer require "friends-of-phpspec/phpspec-code-coverage:^6 .3.0 " --no-interaction --no-update
233203 composer update --prefer-dist --no-interaction --no-progress
234- vendor/bin/simple-phpunit install
235204
236205 - name : Execute tests
237- run : vendor/bin/simple-phpunit -v --coverage-text --coverage-clover build/coverage.xml
238-
239- - name : Upload coverage
240- run : |
241- wget https://scrutinizer-ci.com/ocular.phar
242- php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}
206+ run : vendor/bin/phpunit --coverage-text --coverage-clover build/coverage.xml
0 commit comments