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

[TASK] Add lowest and highest dependencies to gitlab ci (#655)

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2022-10-19 15:12:07 +02:00 committed by GitHub
parent 6b957de595
commit 9f1c0687b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 126 additions and 42 deletions

View file

@ -12,9 +12,12 @@ include:
- '/.gitlab/pipeline/jobs/.variables.yml'
- '/.gitlab/pipeline/jobs/build-composer-dependencies.yml'
- '/.gitlab/pipeline/jobs/composer-normalize.yml'
- '/.gitlab/pipeline/jobs/func-php7.4-v11.yml'
- '/.gitlab/pipeline/jobs/func-php8.0-v11.yml'
- '/.gitlab/pipeline/jobs/func-php8.1-v11.yml'
- '/.gitlab/pipeline/jobs/func-php7.4-v11-highest.yml'
- '/.gitlab/pipeline/jobs/func-php7.4-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/func-php8.0-v11-highest.yml'
- '/.gitlab/pipeline/jobs/func-php8.0-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/func-php8.1-v11-highest.yml'
- '/.gitlab/pipeline/jobs/func-php8.1-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/javascript-lint.yml'
- '/.gitlab/pipeline/jobs/json-lint.yml'
- '/.gitlab/pipeline/jobs/php-copypaste-check.yml'
@ -23,9 +26,12 @@ include:
- '/.gitlab/pipeline/jobs/php-lint-php8.1.yml'
- '/.gitlab/pipeline/jobs/phpcs.yml'
- '/.gitlab/pipeline/jobs/ts-lint.yml'
- '/.gitlab/pipeline/jobs/unit-php7.4-v11.yml'
- '/.gitlab/pipeline/jobs/unit-php8.0-v11.yml'
- '/.gitlab/pipeline/jobs/unit-php8.1-v11.yml'
- '/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml'
- '/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/unit-php8.0-v11-highest.yml'
- '/.gitlab/pipeline/jobs/unit-php8.0-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/unit-php8.1-v11-highest.yml'
- '/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml'
- '/.gitlab/pipeline/jobs/xliff-lint.yml'
- '/.gitlab/pipeline/jobs/yaml-lint.yml'
- template: Security/License-Scanning.gitlab-ci.yml

View file

@ -1,4 +1,4 @@
func-php7.4-v11:
func-php7.4-v11-highest:
extends: .default
image: php:7.4
services:
@ -8,5 +8,6 @@ func-php7.4-v11:
- build-composer-dependencies
- php-lint-php7.4
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -0,0 +1,13 @@
func-php7.4-v11-lowest:
extends: .default
image: php:7.4
services:
- mariadb:10
stage: test
needs:
- build-composer-dependencies
- php-lint-php7.4
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -1,4 +1,4 @@
func-php8.0-v11:
func-php8.0-v11-highest:
extends: .default
image: php:8.0
services:
@ -8,5 +8,6 @@ func-php8.0-v11:
- build-composer-dependencies
- php-lint-php8.0
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -0,0 +1,13 @@
func-php8.0-v11-lowest:
extends: .default
image: php:8.0
services:
- mariadb:10
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.0
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -1,4 +1,4 @@
func-php8.1-v11:
func-php8.1-v11-highest:
extends: .default
image: php:8.1
services:
@ -8,5 +8,6 @@ func-php8.1-v11:
- build-composer-dependencies
- php-lint-php8.1
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -0,0 +1,13 @@
func-php8.1-v11-lowest:
extends: .default
image: php:8.1
services:
- mariadb:10
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.1
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- wait-for-it mariadb:3306 -t 60 --strict -- composer ci:tests:functional

View file

@ -0,0 +1,11 @@
unit-php7.4-v11-highest:
extends: .default
image: php:7.4
stage: test
needs:
- build-composer-dependencies
- php-lint-php7.4
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- composer ci:tests:unit

View file

@ -0,0 +1,11 @@
unit-php7.4-v11-lowest:
extends: .default
image: php:7.4
stage: test
needs:
- build-composer-dependencies
- php-lint-php7.4
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- composer ci:tests:unit

View file

@ -1,10 +0,0 @@
unit-php7.4-v11:
extends: .default
image: php:7.4
stage: test
needs:
- build-composer-dependencies
- php-lint-php7.4
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer ci:tests:unit

View file

@ -0,0 +1,11 @@
unit-php8.0-v11-highest:
extends: .default
image: php:8.0
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.0
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- composer ci:tests:unit

View file

@ -0,0 +1,11 @@
unit-php8.0-v11-lowest:
extends: .default
image: php:8.0
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.0
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- composer ci:tests:unit

View file

@ -1,10 +0,0 @@
unit-php8.0-v11:
extends: .default
image: php:8.0
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.0
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer ci:tests:unit

View file

@ -0,0 +1,11 @@
unit-php8.1-v11-highest:
extends: .default
image: php:8.1
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.1
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies
- composer ci:tests:unit

View file

@ -0,0 +1,11 @@
unit-php8.1-v11-lowest:
extends: .default
image: php:8.1
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.1
script:
- composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^11.5"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- composer ci:tests:unit

View file

@ -1,10 +0,0 @@
unit-php8.1-v11:
extends: .default
image: php:8.1
stage: test
needs:
- build-composer-dependencies
- php-lint-php8.1
script:
- composer require --no-progress typo3/cms-core:"^11.5"
- composer ci:tests:unit