Skip to content

Commit

Permalink
chore: update actions to run the right jobs with the right versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tlayh committed Mar 5, 2024
1 parent 7365b1a commit 90fcc4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@ jobs:
run: find . -name \*.php ! -path "./.Build/*" ! -path "./scripts/*" ! -path "./typo3_src/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;

- name: check code-style
if: matrix.typo3 == '^11.5' && matrix.php == '8.0'
if: matrix.typo3 == '^11.5' && matrix.php == '8.3'
run: |
composer code-check-pipeline
- name: Unit Tests without coverage
if: matrix.typo3 != '^11.5' && matrix.php != '8.0'
if: matrix.typo3 != '^11.5' && matrix.php != '8.3'
run: composer test:unit

- name: Unit Tests with coverage
if: matrix.typo3 == '^11.5' && matrix.php == '8.0'
if: matrix.typo3 == '^11.5' && matrix.php == '8.3'
run: |
cp Tests/Unit/Fixtures/LocalConfiguration.php .Build/Web/typo3conf/LocalConfiguration.php
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
- name: Functional Tests without coverage
if: matrix.typo3 != '^11.5' && matrix.php != '8.0'
if: matrix.typo3 != '^11.5' && matrix.php != '8.3'
run: composer test:functional

- name: Functional Tests with coverage
if: matrix.typo3 == '^11.5' && matrix.php == '8.0'
if: matrix.typo3 == '^11.5' && matrix.php == '8.3'
run: |
export "FUNCTIONAL_XML"=.Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml
.Build/bin/phpunit --whitelist Classes --coverage-clover=functional-coverage.clover --colors -c $FUNCTIONAL_XML Tests/Functional
Expand Down

0 comments on commit 90fcc4c

Please sign in to comment.