Skip to content

Commit

Permalink
ci: allow PHP 7.2 to coverage upload fail
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jul 24, 2024
1 parent 5baf964 commit f1dfb27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
php-version: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
os: [ubuntu-latest]
experimental: [false]
coverage-required: [false]
composer-options: ['']
include:
- { php-version: '7.2', experimental: false, os: ubuntu-latest, composer-options: '', coverage-required: true }
- { php-version: 'nightly', experimental: true, os: ubuntu-latest, composer-options: '--ignore-platform-reqs' }
steps:
- uses: actions/checkout@v4
Expand All @@ -43,7 +45,7 @@ jobs:
- name: Send coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
fail_ci_if_error: ${{ matrix.coverage-required }}
flags: php-${{ matrix.php-version }}
token: ${{ secrets.CODECOV_TOKEN }}
file: ./build/logs/clover.xml

0 comments on commit f1dfb27

Please sign in to comment.