Skip to content

Commit 4950db2

Browse files
Merge branch '8.5' into 9.6
2 parents e3874aa + 6013ec0 commit 4950db2

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
- name: Install PHP with extensions
211211
uses: shivammathur/setup-php@v2
212212
with:
213-
php-version: 8.4
213+
php-version: 7.4
214214
coverage: xdebug
215215
extensions: none, curl, dom, json, libxml, mbstring, phar, soap, tokenizer, xml, xmlwriter
216216
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
@@ -220,12 +220,22 @@ jobs:
220220
run: ./tools/composer install --no-ansi --no-interaction --no-progress
221221

222222
- name: Collect code coverage with PHPUnit
223-
run: ./phpunit --coverage-clover=coverage.xml
223+
run: ./phpunit --log-junit test-results.xml --coverage-clover=code-coverage.xml
224+
225+
- name: Upload test results to Codecov.io
226+
if: ${{ !cancelled() }}
227+
uses: codecov/test-results-action@v1
228+
with:
229+
token: ${{ secrets.CODECOV_TOKEN }}
230+
disable_search: true
231+
files: ./test-results.xml
224232

225-
- name: Send code coverage report to Codecov.io
233+
- name: Upload code coverage data to Codecov.io
226234
uses: codecov/codecov-action@v4
227235
with:
228236
token: ${{ secrets.CODECOV_TOKEN }}
237+
disable_search: true
238+
files: ./code-coverage.xml
229239

230240
build-phar:
231241
name: Build PHAR

0 commit comments

Comments
 (0)