mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 23:56:13 +02:00

[FEATURE] Run the unit tests on TYPO3 12 on CI (#653)

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
This commit is contained in:
Oliver Klee 2022-10-19 16:04:38 +02:00 committed by GitHub
parent 6e8aef2daf
commit 43e4829255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 1 deletions

View file

@ -162,6 +162,12 @@ jobs:
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: highest
- typo3-version: "^12.0"
php-version: "8.1"
composer-dependencies: lowest
- typo3-version: "^12.0"
php-version: "8.1"
composer-dependencies: highest
functional-tests:
name: "Functional tests"
runs-on: ubuntu-22.04

View file

@ -211,6 +211,12 @@ jobs:
- typo3-version: "^11.5"
php-version: "8.1"
composer-dependencies: highest
- typo3-version: "^12.0"
php-version: "8.1"
composer-dependencies: lowest
- typo3-version: "^12.0"
php-version: "8.1"
composer-dependencies: highest
functional-tests:
name: "Functional tests"
runs-on: ubuntu-22.04

View file

@ -32,6 +32,8 @@ include:
- '/.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/unit-php8.1-v12-highest.yml'
- '/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml'
- '/.gitlab/pipeline/jobs/xliff-lint.yml'
- '/.gitlab/pipeline/jobs/yaml-lint.yml'
- template: Security/License-Scanning.gitlab-ci.yml

View file

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

View file

@ -0,0 +1,11 @@
unit-php8.1-v12-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:"^12.0"
- composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest
- composer ci:tests:unit

View file

@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Added
- Harden the GitHub Actions workflows (#649)
- Add support for TYPO3 12 (#652)
- Add support for TYPO3 12 (#652, #653)
- Add `.gitignore` entry for JetBrains Fleet editor (#642)
### Changed