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'
6662 run : |
6763 composer require --no-update ${DEPENDENCIES}
6864 composer update --prefer-dist --no-interaction --no-progress
69- vendor/bin/simple-phpunit install
7065
7166 - name : Execute tests
72- run : vendor/bin/simple-phpunit -v
73-
74- legacyPHP :
75- name : PHP 7.2 Varnish 6
76- runs-on : ubuntu-20.04
77- env :
78- VARNISH_VERSION : ' 6.6'
79- VARNISH_MODULES_VERSION : ' 0.18.0'
80-
81- steps :
82- - name : Setup PHP
83- uses : shivammathur/setup-php@v2
84- with :
85- php-version : 7.2
86- tools : composer:v2
87- coverage : none
88-
89- - name : Checkout code
90- uses : actions/checkout@v2
91-
92- - name : Setup Varnish and Nginx
93- run : |
94- sh ${GITHUB_WORKSPACE}/.github/workflows/setup-varnish.sh
95- sh ${GITHUB_WORKSPACE}/.github/workflows/setup-nginx.sh
96-
97- - name : Install composer dependencies
98- run : |
99- composer require --no-update ${DEPENDENCIES}
100- composer update --prefer-dist --no-interaction --no-progress
101- vendor/bin/simple-phpunit install
102-
103- - name : Execute tests
104- run : vendor/bin/simple-phpunit -v
67+ run : vendor/bin/phpunit
10568
10669 varnish5 :
10770 name : PHP ${{ matrix.php }} Legacy Varnish 5
11477 fail-fast : false
11578 matrix :
11679 include :
117- - php : ' 7.4 '
80+ - php : ' 8.1 '
11881
11982 steps :
12083 - name : Setup PHP
@@ -135,10 +98,9 @@ jobs:
13598 - name : Install composer dependencies
13699 run : |
137100 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
138- vendor/bin/simple-phpunit install
139101
140102 - name : Execute tests
141- run : vendor/bin/simple- phpunit -v
103+ run : vendor/bin/phpunit
142104
143105 varnish4 :
144106 name : PHP ${{ matrix.php }} Legacy Varnish 4
@@ -151,7 +113,7 @@ jobs:
151113 fail-fast : false
152114 matrix :
153115 include :
154- - php : ' 7.4 '
116+ - php : ' 8.1 '
155117
156118 steps :
157119 - name : Setup PHP
@@ -172,10 +134,9 @@ jobs:
172134 - name : Install composer dependencies
173135 run : |
174136 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
175- vendor/bin/simple-phpunit install
176137
177138 - name : Execute tests
178- run : vendor/bin/simple- phpunit -v
139+ run : vendor/bin/phpunit
179140
180141 lowest :
181142 name : PHP ${{ matrix.php }} Lowest, Varnish 3
@@ -188,7 +149,7 @@ jobs:
188149 strategy :
189150 fail-fast : false
190151 matrix :
191- php : ['7.2 ']
152+ php : ['8.1 ']
192153
193154 steps :
194155 - name : Setup PHP
@@ -209,10 +170,9 @@ jobs:
209170 - name : Install composer dependencies
210171 run : |
211172 composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
212- vendor/bin/simple-phpunit install
213173
214174 - name : Execute tests
215- run : vendor/bin/simple- phpunit -v
175+ run : vendor/bin/phpunit
216176
217177 coverage :
218178 name : Code Coverage
@@ -225,7 +185,7 @@ jobs:
225185 - name : Setup PHP
226186 uses : shivammathur/setup-php@v2
227187 with :
228- php-version : 7.4
188+ php-version : 8.2
229189 tools : composer:v2
230190 coverage : xdebug
231191
@@ -239,14 +199,8 @@ jobs:
239199
240200 - name : Install dependencies
241201 run : |
242- 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
243203 composer update --prefer-dist --no-interaction --no-progress
244- vendor/bin/simple-phpunit install
245204
246205 - name : Execute tests
247- run : vendor/bin/simple-phpunit -v --coverage-text --coverage-clover build/coverage.xml
248-
249- - name : Upload coverage
250- run : |
251- wget https://scrutinizer-ci.com/ocular.phar
252- 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