name: CI on: [push] jobs: php: runs-on: ubuntu-latest strategy: matrix: php: [7.4, 8.0] steps: - uses: actions/checkout@v1 - name: Install dependencies run: composer install --no-interaction --no-progress - name: Run tests run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning - name: Run phpstan run: php${{ matrix.php }} vendor/bin/phpstan - name: Run psalm run: php${{ matrix.php }} vendor/bin/psalm