Skip to content

Commit

Permalink
Test on PHP 8.2 & 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed May 3, 2024
1 parent 4b511b8 commit 2fe7dea
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand All @@ -35,16 +37,16 @@ jobs:

- name: Run PHPUnit
run: vendor/bin/phpunit
if: ${{ matrix.php-version != '8.0' }}
if: ${{ matrix.php-version != '8.3' }}

- name: Run PHPUnit with coverage
run: |
mkdir -p mkdir -p build/logs
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.3' }}

- name: Upload coverage report to Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.3' }}

0 comments on commit 2fe7dea

Please sign in to comment.