diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d2470c..14824fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,24 @@ on: jobs: check: runs-on: ubuntu-latest + + strategy: + matrix: + php: ['7.4', '8.0'] + steps: - uses: actions/checkout@v2 - - run: composer install + + - uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + - uses: ramsey/composer-install@v1 + - run: composer lint - run: composer test env: XDEBUG_MODE: coverage + - uses: codecov/codecov-action@v1 with: file: ./coverage/clover.xml