Skip to content

Commit e8d1ca7

Browse files
committed
Bump default php version in ci to 8.5
Adding junit codecov push
1 parent 4323356 commit e8d1ca7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
4343
- name: Run PHPUnit
4444
run: |
45-
if [[ ${{ matrix.php-version }} == '8.4' ]]; then
46-
vendor/bin/phpunit --coverage-clover=coverage.xml
45+
if [[ ${{ matrix.php-version }} == '8.5' ]]; then
46+
vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit junit.xml
4747
else
4848
vendor/bin/phpunit
4949
fi
@@ -53,11 +53,17 @@ jobs:
5353
run: vendor/bin/validate-prefer-lowest -m
5454

5555
- name: Upload coverage reports to Codecov
56-
if: success() && matrix.php-version == '8.4'
56+
if: success() && matrix.php-version == '8.5'
5757
uses: codecov/codecov-action@v5
5858
with:
5959
token: ${{ secrets.CODECOV_TOKEN }}
6060

61+
- name: Upload test results to Codecov
62+
if: ${{ !cancelled() }}
63+
uses: codecov/test-results-action@v1
64+
with:
65+
token: ${{ secrets.CODECOV_TOKEN }}
66+
6167
static-analysis:
6268
runs-on: ubuntu-latest
6369
if: github.event_name == 'push' || github.event_name == 'pull_request'
@@ -69,7 +75,7 @@ jobs:
6975
- name: Setup PHP
7076
uses: shivammathur/setup-php@v2
7177
with:
72-
php-version: 8.4
78+
php-version: 8.5
7379
extensions: ${{ env.PHP_EXTENSIONS }}
7480

7581
- name: Install dependencies

0 commit comments

Comments
 (0)