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

[BUGFIX] Fix the CI build with the lowest dependencies (#170)

- fix a syntax error in the `ci.yml`
- also update/downgrade transitive dependencies
- add a conflict with broken versions of typo3/class-alias-loader
- use a Composer-2-compatible version of `helhum/typo3-composer-setup`
- start running the unit and functional tests with the lowest
  dependencies on GitHub Actions

Fixes #50
This commit is contained in:
Oliver Klee 2020-11-24 02:14:15 +01:00 committed by GitHub
parent bc21852ba0
commit b4936ebb6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View file

@ -141,14 +141,13 @@ jobs:
if: "matrix.composer-dependencies == 'lowest'"
name: "Install lowest dependencies with composer"
run: |
composer update --no-ansi --no-interaction |
--no-progress --prefer-lowest
composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
composer show
-
if: "matrix.composer-dependencies == 'highest'"
name: "Install highest dependencies with composer"
run: |
composer update --no-ansi --no-interaction --no-progress
composer update --no-ansi --no-interaction --no-progress --with-dependencies
composer show
-
name: "Run unit tests"
@ -157,6 +156,7 @@ jobs:
matrix:
composer-dependencies:
- highest
- lowest
php-version:
- 7.2
- 7.3
@ -199,14 +199,13 @@ jobs:
if: "matrix.composer-dependencies == 'lowest'"
name: "Install lowest dependencies with composer"
run: |
composer update --no-ansi --no-interaction |
--no-progress --prefer-lowest
composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
composer show
-
if: "matrix.composer-dependencies == 'highest'"
name: "Install highest dependencies with composer"
run: |
composer update --no-ansi --no-interaction --no-progress
composer update --no-ansi --no-interaction --no-progress --with-dependencies
composer show
-
name: "Start MySQL"
@ -223,6 +222,7 @@ jobs:
matrix:
composer-dependencies:
- highest
- lowest
php-version:
- 7.2
- 7.3

View file

@ -34,7 +34,7 @@
"require-dev": {
"codeception/codeception": "^4.1.5",
"friendsofphp/php-cs-fixer": "^2.16.3",
"helhum/typo3-composer-setup": "^0.5.6",
"helhum/typo3-composer-setup": "^0.5.7",
"helmich/typo3-typoscript-lint": "^2.1.1",
"nimut/testing-framework": "^5.0.3",
"phpunit/phpunit": "^7.5.20",
@ -45,6 +45,9 @@
"j13k/yaml-lint": "1.1.x-dev",
"sebastian/phpcpd": "^4.1.0"
},
"conflict": {
"typo3/class-alias-loader": "< 1.1.0"
},
"replace": {
"typo3-ter/tea": "self.version"
},