diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 995933f..4483026 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,10 +6,12 @@ on: jobs: PHPUnit: - runs-on: ubuntu-20.04 + name: PHPUnit (PHP ${{ matrix.php }}) + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2 - 8.1 - 8.0 - 7.4 @@ -22,10 +24,11 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + coverage: xdebug - run: composer install - run: vendor/bin/phpunit --coverage-text if: ${{ matrix.php >= 7.3 }} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index fffc7f5..e462441 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,4 +17,7 @@ ./src/ + + +