Skip to content

Commit

Permalink
ci: fix coverage on PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Feb 29, 2024
1 parent a317c6d commit d915fdb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,22 @@ 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]
composer-options: [""]
phpunit-options: ["--coverage-clover=build/logs/clover.xml --coverage-filter=src"]
include:
- {
php-version: "7.2",
phpunit-options: "",
composer-options: "",
experimental: false,
os: ubuntu-latest,
}
- {
php-version: "nightly",
phpunit-options: "--coverage-clover=build/logs/clover.xml --coverage-filter=src",
composer-options: "--ignore-platform-req=php",
experimental: true,
os: ubuntu-latest,
Expand All @@ -78,7 +87,7 @@ jobs:
- name: Install dependencies
run: composer install --no-interaction ${{ matrix.composer-options }}
- name: Run php tests
run: composer run test -- --coverage-clover=build/logs/clover.xml --coverage-filter=src
run: composer run test -- ${{ matrix.phpunit-options }}
- name: Send coverage
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit d915fdb

Please sign in to comment.