@@ -187,66 +187,3 @@ jobs:
187187
188188 - name : ' Tests'
189189 run : ' vendor/bin/tester tests -C'
190-
191- tests_code_coverage :
192- name : ' Tests with code coverage'
193- runs-on : ' ${{ matrix.operating-system }}'
194-
195- strategy :
196- matrix :
197- php-version : [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
198- operating-system : [ 'ubuntu-latest' ]
199- fail-fast : false
200-
201- if : " github.event_name == 'push'"
202-
203- steps :
204- - name : ' Checkout'
205- uses : ' actions/checkout@v2'
206-
207- - name : ' Setup PHP cache environment'
208- id : ' extcache'
209- uses : ' shivammathur/cache-extensions@v1'
210- with :
211- php-version : ' ${{ matrix.php-version }}'
212- extensions : ' ${{ env.extensions }}'
213- key : ' ${{ env.cache-version }}'
214-
215- - name : ' Cache PHP extensions'
216- uses : ' actions/cache@v4'
217- with :
218- path : ' ${{ steps.extcache.outputs.dir }}'
219- key : ' ${{ steps.extcache.outputs.key }}'
220- restore-keys : ' ${{ steps.extcache.outputs.key }}'
221-
222- - name : ' Install PHP'
223- uses : ' shivammathur/setup-php@v2'
224- with :
225- php-version : ' ${{ matrix.php-version }}'
226- extensions : ' ${{ env.extensions }}'
227- tools : ' composer:${{ env.composer-version }}'
228-
229- - name : ' Setup problem matchers for PHP'
230- run : ' echo "::add-matcher::${{ runner.tool_cache }}/php.json"'
231-
232- - name : ' Get Composer cache directory'
233- id : ' composercache'
234- run : ' echo "::set-output name=dir::$(composer config cache-files-dir)"'
235-
236- - name : ' Cache PHP dependencies'
237- uses : ' actions/cache@v4'
238- with :
239- path : ' ${{ steps.composercache.outputs.dir }}'
240- key : " ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}"
241- restore-keys : ' ${{ runner.os }}-composer-'
242-
243- - name : ' Install dependencies'
244- run : ' ${{ env.composer-install }}'
245-
246- - name : ' Tests'
247- run : vendor/bin/tester tests -C --coverage coverage.xml --coverage-src src
248-
249- - uses : codecov/codecov-action@v1
250- with :
251- token : ${{ secrets.CODECOV_TOKEN }}
252- fail_ci_if_error : true
0 commit comments