From aaa4158b096da6da35de00fcf727f1efefe638d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Wed, 5 Oct 2022 15:52:28 +0200 Subject: [PATCH] [FEATURE] Add unit tests for v11 to gitlab ci (#607) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #590 Fixes #605 Co-authored-by: Łukasz Uznański --- .gitlab/pipeline/.gitlab-ci.yml | 3 +++ .gitlab/pipeline/jobs/unit-php7.4-v11.yml | 10 ++++++++++ .gitlab/pipeline/jobs/unit-php8.0-v11.yml | 10 ++++++++++ .gitlab/pipeline/jobs/unit-php8.1-v11.yml | 10 ++++++++++ 4 files changed, 33 insertions(+) create mode 100644 .gitlab/pipeline/jobs/unit-php7.4-v11.yml create mode 100644 .gitlab/pipeline/jobs/unit-php8.0-v11.yml create mode 100644 .gitlab/pipeline/jobs/unit-php8.1-v11.yml diff --git a/.gitlab/pipeline/.gitlab-ci.yml b/.gitlab/pipeline/.gitlab-ci.yml index 1a682d4..200cb27 100644 --- a/.gitlab/pipeline/.gitlab-ci.yml +++ b/.gitlab/pipeline/.gitlab-ci.yml @@ -23,6 +23,9 @@ 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/xliff-lint.yml' - '/.gitlab/pipeline/jobs/yaml-lint.yml' - template: Security/License-Scanning.gitlab-ci.yml diff --git a/.gitlab/pipeline/jobs/unit-php7.4-v11.yml b/.gitlab/pipeline/jobs/unit-php7.4-v11.yml new file mode 100644 index 0000000..fb172ba --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php7.4-v11.yml @@ -0,0 +1,10 @@ +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 diff --git a/.gitlab/pipeline/jobs/unit-php8.0-v11.yml b/.gitlab/pipeline/jobs/unit-php8.0-v11.yml new file mode 100644 index 0000000..5d16275 --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.0-v11.yml @@ -0,0 +1,10 @@ +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 diff --git a/.gitlab/pipeline/jobs/unit-php8.1-v11.yml b/.gitlab/pipeline/jobs/unit-php8.1-v11.yml new file mode 100644 index 0000000..b0aab20 --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.1-v11.yml @@ -0,0 +1,10 @@ +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