@@ -25,17 +25,17 @@ jobs:
2525 strategy :
2626 fail-fast : false
2727 matrix :
28- php_version : [ '7.3 ', '7.4 ', '8.0 ' ]
29- typo3_version : [ '^10.4', '^ 11.5' ]
28+ php_version : [ '7.4 ', '8.0 ', '8.1 ' ]
29+ typo3_version : [ '^11.5' ]
3030 experimental : [ false ]
31- exclude :
32- - php_version : ' 8.0'
33- typo3_version : ' ^10.4'
34- - php_version : ' 7.3'
35- typo3_version : ' ^11.5'
3631 include :
37- # add experimental dev-master for PHP 8.0
38- - php_version : ' 8.0'
32+ - php_version : ' 7.3'
33+ typo3_version : ' ^10.4'
34+ experimental : false
35+ - php_version : ' 7.4'
36+ typo3_version : ' ^10.4'
37+ experimental : false
38+ - php_version : ' 8.1'
3939 typo3_version : ' dev-master'
4040 experimental : true
4141
@@ -79,36 +79,36 @@ jobs:
7979 run : .Build/bin/phpstan analyse --level 5 Classes/
8080
8181 - name : Running unit tests
82- if : (matrix.php_version == '8.0 ' && matrix.typo3_version == '^11.5') == false
82+ if : (matrix.php_version == '8.1 ' && matrix.typo3_version == '^11.5') == false
8383 run : |
8484 if [ -d "Tests/Unit" ]; then
8585 .Build/bin/phpunit --bootstrap .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php Tests/Unit/
8686 fi
8787
8888 - name : Running unit tests with coverage report
89- if : matrix.php_version == '8.0 ' && matrix.typo3_version == '^11.5'
89+ if : matrix.php_version == '8.1 ' && matrix.typo3_version == '^11.5'
9090 run : |
9191 if [ -d "Tests/Unit" ]; then
9292 .Build/bin/phpunit --bootstrap .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php Tests/Unit/ --coverage-clover=./coverage/unit/clover.xml --whitelist=./Classes/
9393 fi
9494
9595 - name : Running functional tests
96- if : (matrix.php_version == '8.0 ' && matrix.typo3_version == '^11.5') == false
96+ if : (matrix.php_version == '8.1 ' && matrix.typo3_version == '^11.5') == false
9797 run : |
9898 if [ -d "Tests/Functional" ]; then
9999 find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --bootstrap .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php {}'
100100 fi
101101
102102 - name : Running functional tests with coverage report
103- if : matrix.php_version == '8.0 ' && matrix.typo3_version == '^11.5'
103+ if : matrix.php_version == '8.1 ' && matrix.typo3_version == '^11.5'
104104 run : |
105105 if [ -d "Tests/Functional" ]; then
106106 find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --bootstrap .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php {} --coverage-clover=./coverage/functional/{}/clover.xml --whitelist=./Classes/'
107107 fi
108108
109109 - name : Upload coverage report to codecov
110110 uses : codecov/codecov-action@v2
111- if : matrix.php_version == '8.0 ' && matrix.typo3_version == '^11.5'
111+ if : matrix.php_version == '8.1 ' && matrix.typo3_version == '^11.5'
112112 with :
113113 token : ${{ secrets.CODECOV_TOKEN }}
114114 directory : ./coverage/
0 commit comments