From 9ffbf82d3e50097c6dc72b62d492885c3756a322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Mon, 27 Nov 2023 18:19:25 +0100 Subject: [PATCH] [TASK] Add php8.3 unit tests to gitlab ci (#1033) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depends on: #1032 Co-authored-by: Łukasz Uznański --- .gitlab/pipeline/.gitlab-ci.yml | 4 ++++ .gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml | 12 ++++++++++++ .gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml | 12 ++++++++++++ .gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml | 11 +++++++++++ .gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml | 12 ++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 .gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml create mode 100644 .gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml create mode 100644 .gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml create mode 100644 .gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml diff --git a/.gitlab/pipeline/.gitlab-ci.yml b/.gitlab/pipeline/.gitlab-ci.yml index 0846376..a829dc9 100644 --- a/.gitlab/pipeline/.gitlab-ci.yml +++ b/.gitlab/pipeline/.gitlab-ci.yml @@ -42,10 +42,14 @@ include: - '/.gitlab/pipeline/jobs/unit-php8.1-v11-lowest.yml' - '/.gitlab/pipeline/jobs/unit-php8.2-v11-highest.yml' - '/.gitlab/pipeline/jobs/unit-php8.2-v11-lowest.yml' + - '/.gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml' + - '/.gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml' - '/.gitlab/pipeline/jobs/unit-php8.1-v12-highest.yml' - '/.gitlab/pipeline/jobs/unit-php8.1-v12-lowest.yml' - '/.gitlab/pipeline/jobs/unit-php8.2-v12-highest.yml' - '/.gitlab/pipeline/jobs/unit-php8.2-v12-lowest.yml' + - '/.gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml' + - '/.gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml' - '/.gitlab/pipeline/jobs/xliff-lint.yml' - '/.gitlab/pipeline/jobs/yaml-lint.yml' - template: Security/Secret-Detection.gitlab-ci.yml diff --git a/.gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml b/.gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml new file mode 100644 index 0000000..bd0e22a --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.3-v11-highest.yml @@ -0,0 +1,12 @@ +unit-php8.3-v11-highest: + extends: .default + image: php:8.3 + stage: test + needs: + - build-composer-dependencies + - php-lint-php8.3 + script: + - echo "Job ${CI_JOB_NAME}" + - 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 diff --git a/.gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml new file mode 100644 index 0000000..0bb2eba --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.3-v11-lowest.yml @@ -0,0 +1,12 @@ +unit-php8.3-v11-lowest: + extends: .default + image: php:8.3 + stage: test + needs: + - build-composer-dependencies + - php-lint-php8.3 + script: + - echo "Job ${CI_JOB_NAME}" + - 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 diff --git a/.gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml b/.gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml new file mode 100644 index 0000000..83bf45a --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.3-v12-highest.yml @@ -0,0 +1,11 @@ +unit-php8.3-v12-highest: + extends: .default + image: php:8.3 + stage: test + needs: + - build-composer-dependencies + - php-lint-php8.3 + script: + - echo "Job ${CI_JOB_NAME}" + - composer require --no-progress typo3/cms-core:"^12.4" + - composer ci:tests:unit diff --git a/.gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml b/.gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml new file mode 100644 index 0000000..8cd7508 --- /dev/null +++ b/.gitlab/pipeline/jobs/unit-php8.3-v12-lowest.yml @@ -0,0 +1,12 @@ +unit-php8.3-v12-lowest: + extends: .default + image: php:8.3 + stage: test + needs: + - build-composer-dependencies + - php-lint-php8.3 + script: + - echo "Job ${CI_JOB_NAME}" + - composer require --no-ansi --no-interaction --no-progress --no-install typo3/cms-core:"^12.4" + - composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest + - composer ci:tests:unit