diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 99d70e3..5ceed66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,16 +59,16 @@ jobs: .Build/bin/phpunit --colors -c $UNIT_XML Tests/Unit - name: Unit Tests with coverage - if: matrix.typo3 == '^11.5' && matrix.php == '8.3' + if: matrix.typo3 == '^12.4' && matrix.php == '8.3' run: | export "UNIT_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml - .Build/bin/phpunit --whitelist Classes --coverage-clover=unittest-coverage.clover --colors -c $UNIT_XML Tests/Unit/ + .Build/bin/phpunit --coverage-clover=unittest-coverage.clover --colors -c $UNIT_XML Tests/Unit/ - name: Functional Tests without coverage run: | export "FUNCTIONAL_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml .Build/bin/phpunit --colors -c $FUNCTIONAL_XML Tests/Functional - if: matrix.typo3 != '^11.5' || matrix.php != '8.3' + if: matrix.typo3 != '^12.4' || matrix.php != '8.3' env: typo3DatabaseHost: 127.0.0.1 typo3DatabaseName: typo3 @@ -79,7 +79,7 @@ jobs: run: | export "FUNCTIONAL_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --whitelist Classes --coverage-clover={}functionaltest-coverage.clover --colors -c $FUNCTIONAL_XML {}' - if: matrix.typo3 == '^11.5' && matrix.php == '8.3' + if: matrix.typo3 == '^12.4' && matrix.php == '8.3' env: typo3DatabaseHost: 127.0.0.1 typo3DatabaseName: typo3 @@ -88,12 +88,12 @@ jobs: - name: Upload functional coverage results to Scrutinizer uses: sudo-bot/action-scrutinizer@latest - if: matrix.typo3 == '^11.5' && matrix.php == '8.3' + if: matrix.typo3 == '^12.4' && matrix.php == '8.3' with: cli-args: "--format=php-clover functional-coverage.clover --revision=${{ github.event.pull_request.head.sha || github.sha }}" - name: Upload unit coverage results to Scrutinizer uses: sudo-bot/action-scrutinizer@latest - if: matrix.typo3 == '^11.5' && matrix.php == '8.3' + if: matrix.typo3 == '^12.4' && matrix.php == '8.3' with: cli-args: "--format=php-clover unittest-coverage.clover --revision=${{ github.event.pull_request.head.sha || github.sha }}" diff --git a/composer.json b/composer.json index 72dab06..2d14b74 100755 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "typo3/cms-extbase": "*" }, "require-dev": { - "phpunit/phpcov": "^9.0", + "phpunit/phpcov": "^8.9 || ^9.0", "typo3/testing-framework": "^7.0 || ^8.0", "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^1.10",