Skip to content

Commit f1dfb27

Browse files
committed
ci: allow PHP 7.2 to coverage upload fail
1 parent 5baf964 commit f1dfb27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
16+
php-version: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
1717
os: [ubuntu-latest]
1818
experimental: [false]
19+
coverage-required: [false]
1920
composer-options: ['']
2021
include:
22+
- { php-version: '7.2', experimental: false, os: ubuntu-latest, composer-options: '', coverage-required: true }
2123
- { php-version: 'nightly', experimental: true, os: ubuntu-latest, composer-options: '--ignore-platform-reqs' }
2224
steps:
2325
- uses: actions/checkout@v4
@@ -43,7 +45,7 @@ jobs:
4345
- name: Send coverage
4446
uses: codecov/codecov-action@v4
4547
with:
46-
fail_ci_if_error: true
48+
fail_ci_if_error: ${{ matrix.coverage-required }}
4749
flags: php-${{ matrix.php-version }}
4850
token: ${{ secrets.CODECOV_TOKEN }}
4951
file: ./build/logs/clover.xml

0 commit comments

Comments
 (0)