Skip to content

Commit

Permalink
chore: fix pipeline tests without coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreAOE committed Mar 20, 2024
1 parent 9154ff6 commit 7cbf2a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ jobs:

- name: Unit Tests without coverage
if: matrix.typo3 != '^11.5' || matrix.php != '8.3'
run: |
export "UNIT_XML"=..Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests-v10.xml
.Build/bin/phpunit --colors -c $UNIT_XML Tests/Unit
run: composer test:unit

- name: Unit Tests with coverage
if: matrix.typo3 == '^11.5' && matrix.php == '8.3'
run: |
export "UNIT_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests-v10.xml
export "UNIT_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
.Build/bin/phpunit --coverage-filter Classes --coverage-clover=unittest-coverage.clover --colors -c $UNIT_XML Tests/Unit/
- name: Upload coverage results to Scrutinizer
Expand Down

0 comments on commit 7cbf2a7

Please sign in to comment.