mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 18:36:13 +01:00

[TASK] Run tests with lowest/highest dependency versions (#40)

This commit is contained in:
Andreas Wolf 2019-12-07 19:20:34 +01:00 committed by Oliver Klee
parent 1b4d0702c9
commit 15aa3c1cb1

View file

@ -80,6 +80,9 @@ jobs:
typo3-version: typo3-version:
- "^9.5" - "^9.5"
#- "^10.2" #- "^10.2"
composer-dependencies:
- highest
- lowest
php-version: php-version:
- 7.2 - 7.2
- 7.3 - 7.3
@ -104,8 +107,17 @@ jobs:
composer require typo3/minimal:"$TYPO3" composer require typo3/minimal:"$TYPO3"
composer show composer show
- name: Install Composer dependencies - name: Install lowest dependencies with composer
run: composer install --no-progress if: matrix.composer-dependencies == 'lowest'
run: |
composer update --no-ansi --no-interaction --no-progress --no-suggest --prefer-lowest
composer show
- name: Install highest dependencies with composer
if: matrix.composer-dependencies == 'highest'
run: |
composer update --no-ansi --no-interaction --no-progress --no-suggest
composer show
- name: Run unit tests - name: Run unit tests
run: composer ci:tests:unit run: composer ci:tests:unit