Skip to content

Commit

Permalink
Test on PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
firstred committed Dec 10, 2023
1 parent 9bdbea2 commit 1a1dc6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
operating-system: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ]
php-versions: [ '8.1', '8.2' ]
php-versions: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -38,17 +38,17 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Test with PHPUnit
if: matrix.php-versions != '8.2' || matrix.operating-system != 'ubuntu-latest'
if: matrix.php-versions != '8.3' || matrix.operating-system != 'ubuntu-latest'
env:
XDEBUG_MODE: coverage
run: vendor/bin/phpunit --testdox -- tests

- name: Test with PHPUnit (coverage)
if: matrix.php-versions == '8.2' && matrix.operating-system == 'ubuntu-latest'
if: matrix.php-versions == '8.3' && matrix.operating-system == 'ubuntu-latest'
env:
XDEBUG_MODE: coverage
run: vendor/bin/phpunit --testdox --coverage-clover coverage.xml -- tests

- name: Codecov
if: matrix.php-versions == '8.2' && matrix.operating-system == 'ubuntu-latest'
if: matrix.php-versions == '8.3' && matrix.operating-system == 'ubuntu-latest'
uses: codecov/codecov-action@v2

0 comments on commit 1a1dc6c

Please sign in to comment.