diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 3f0a3fd..18d7b28 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -17,6 +17,18 @@ jobs: php: ['7.1', '7.2', '7.4', '8.0', '8.1', '8.2', '8.3'] symfony: ['^3.4', '^4.0', '^5.0', '^6.0', '^7.0'] exclude: + - symfony: ^3.4 + php: 8.1 + - symfony: ^3.4 + php: 8.2 + - symfony: ^3.4 + php: 8.3 + - symfony: ^4.0 + php: 8.1 + - symfony: ^4.0 + php: 8.2 + - symfony: ^4.0 + php: 8.3 - symfony: ^5.0 php: 7.1 - symfony: ^6.0 @@ -25,6 +37,8 @@ jobs: php: 7.2 - symfony: ^6.0 php: 7.4 + - symfony: ^6.0 + php: 8.3 - symfony: ^7.0 php: 7.1 - symfony: ^7.0 @@ -35,17 +49,6 @@ jobs: php: 8.0 - symfony: ^7.0 php: 8.1 - include: - - symfony: ^6.0 - php: 8.0 - - symfony: ^6.0 - php: 8.1 - - symfony: ^6.0 - php: 8.2 - - symfony: ^7.0 - php: 8.2 - - symfony: ^7.0 - php: 8.3 fail-fast: false name: PHPUnit (PHP ${{ matrix.php }}) (Symfony ${{ matrix.symfony }}) steps: @@ -92,10 +95,7 @@ jobs: - name: Install PHP dependencies uses: ramsey/composer-install@v2 - - name: Run code coverage - run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - - - name: Send code coverage - run: | - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover + - name: Upload Scrutinizer coverage + uses: sudo-bot/action-scrutinizer@latest + with: + cli-args: "--format=php-clover coverage.clover" diff --git a/README.md b/README.md index 7dac02c..fe3fba9 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Configuration without symfony/flex: ### 1. Register the bundle -**Symfony 4/5/6 Version :** +**Symfony 4/5/6/7 Version :** Register bundle into `config/bundles.php`: ```php return [