diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 60e8db79..e5b5d7a0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,11 +35,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' - extensions: pcov - ini-values: | - pcov.enabled=1 - coverage: pcov + php-version: '8.1' - name: Cache dependencies uses: actions/cache@v1 @@ -76,12 +72,5 @@ jobs: DB_USERNAME: root DB_PASSWORD: password run: | - vendor/bin/phpunit --coverage-clover clover.xml + vendor/bin/phpunit vendor/bin/pint - - - name: Generate test coverage badge - uses: timkrase/phpunit-coverage-badge@v1.2.0 - with: - coverage_badge_path: 'badge-coverage.svg' - push_badge: true - repo_token: ${{ secrets.GITHUB_TOKEN }}