diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b06581a..94c5f8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,13 +47,13 @@ jobs: run: find . -name \*.php ! -path "./.Build/*" ! -path "./scripts/*" ! -path "./typo3_src/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \; - name: Unit Tests without coverage - if: matrix.typo3 != '^11.5' || matrix.php != '7.4' + if: matrix.typo3 != '^11.5' || matrix.php != '8.3' run: | export "UNIT_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml .Build/bin/phpunit --colors -c $UNIT_XML Tests/Unit - name: Unit Tests with coverage - if: matrix.typo3 == '^11.5' && matrix.php == '7.4' + if: matrix.typo3 == '^11.5' && 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/ @@ -62,7 +62,7 @@ jobs: 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 != '7.4' + if: matrix.typo3 != '^11.5' || matrix.php != '8.3' env: typo3DatabaseHost: 127.0.0.1 typo3DatabaseName: typo3 @@ -73,7 +73,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 == '7.4' + if: matrix.typo3 == '^11.5' && matrix.php == '8.3' env: typo3DatabaseHost: 127.0.0.1 typo3DatabaseName: typo3 @@ -81,8 +81,8 @@ jobs: typo3DatabaseUsername: root - name: Upload coverage results to Scrutinizer - if: matrix.typo3 == '^11.5' && matrix.php == '7.4' + if: matrix.typo3 == '^11.5' && matrix.php == '8.3' run: | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover unittest-coverage.clover - find 'Tests/Functional' -wholename '*Test.php' -exec php ocular.phar code-coverage:upload --format=php-clover {}functionaltest-coverage.clover \; \ No newline at end of file + find 'Tests/Functional' -wholename '*Test.php' -exec php ocular.phar code-coverage:upload --format=php-clover {}functionaltest-coverage.clover \;