Skip to content

Commit ea86c19

Browse files
committed
Fix CI configuration to use PHP 8.4 for coverage and adjust related conditions
1 parent cf0b15b commit ea86c19

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
php-version: ${{ matrix.php }}
3333
extensions: dom, mbstring, zip, libxml, json, tokenizer, fileinfo
34-
coverage: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.5' && 'pcov' || 'none' }}
34+
coverage: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.4' && 'pcov' || 'none' }}
3535

3636
- name: Install Dependencies
3737
uses: ramsey/composer-install@v3
@@ -43,17 +43,17 @@ jobs:
4343
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.3'
4444

4545
- name: Run Test Suite with Coverage (Pest)
46-
run: ./vendor/bin/pest --coverage --coverage-clover=clover.xml
47-
if: matrix.os == 'ubuntu-latest' && matrix.php == '9.0'
46+
run: ./vendor/bin/pest --coverage-clover=clover.xml
47+
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.4'
4848

4949
- name: Upload Coverage to Codecov
5050
uses: codecov/codecov-action@v5
51-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.5'
51+
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.4'
5252
with:
5353
token: ${{ secrets.CODECOV_TOKEN }}
5454
files: clover.xml
5555
fail_ci_if_error: true
5656

5757
- name: Run Test Suite (Pest)
5858
run: ./vendor/bin/pest --compact
59-
if: "! (matrix.os == 'ubuntu-latest' && matrix.php == '8.5')"
59+
if: "! (matrix.os == 'ubuntu-latest' && matrix.php == '8.4')"

0 commit comments

Comments
 (0)