Skip to content

Commit 6fb74cf

Browse files
committed
Run coverage report when PHP 8.1
1 parent 2fa0985 commit 6fb74cf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)