@@ -23,32 +23,13 @@ stages:
2323 - documentation
2424
2525lint:cgl :
26- image : $CI_REGISTRY/containers/phpunit-with-php-8.1 :main
26+ image : $CI_REGISTRY/containers/phpunit-with-php-8.2 :main
2727 stage : lint
2828 before_script :
29- - sed -i -e "s#ssh://git@code.extco.de:22722#https://gitlab-ci-token:$CI_JOB_TOKEN@code.extco.de#g" composer.json
30- - composer config platform.php 8.1
31- - composer remove typo3/cms-core --no-update
29+ - composer remove typo3/cms-* --no-update
3230 - composer install --no-progress --no-ansi --no-interaction
3331 script :
3432 - vendor/bin/php-cs-fixer fix --config=Build/.php-cs-fixer.dist.php -v --dry-run --using-cache=no --path-mode=intersection ./
35-
36- lint:typoscriptcgl :
37- image : php:8.1-alpine
38- stage : lint
39- before_script :
40- - apk add --no-cache bash curl git mercurial openssh openssl parallel subversion tini zlib-dev libzip-dev zip icu-dev g++
41- - docker-php-ext-install mysqli && docker-php-ext-install zip && docker-php-ext-configure intl && docker-php-ext-install intl && docker-php-ext-enable intl
42- - wget https://composer.github.io/installer.sig -O - -q | tr -d '\n' > installer.sig
43- - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
44- - php -r "if (hash_file('SHA384', 'composer-setup.php') === trim(file_get_contents('installer.sig'))) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
45- - php composer-setup.php --no-ansi --install-dir=/usr/bin --filename=composer
46- - php -r "unlink('composer-setup.php'); unlink('installer.sig');"
47- - sed -i -e "s#ssh://git@code.extco.de:22722#https://gitlab-ci-token:$CI_JOB_TOKEN@code.extco.de#g" composer.json
48- - composer config platform.php 8.1
49- - composer remove typo3/cms-core --no-update
50- - composer install --no-progress --no-ansi --no-interaction
51- script :
5233 - vendor/bin/typoscript-lint -c Build/typoscriptlint.yaml Configuration
5334
5435lint:yaml :
@@ -65,12 +46,6 @@ lint:yaml:
6546 script :
6647 - find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
6748
68- lint:php81 :
69- << : *lint_php
70- stage : lint
71- variables :
72- CONTAINER_IMAGE : php:8.1-alpine
73-
7449lint:php82 :
7550 << : *lint_php
7651 variables :
@@ -82,11 +57,9 @@ lint:php83:
8257 CONTAINER_IMAGE : php:8.3-alpine
8358
8459phpstan:analyse :
85- image : $CI_REGISTRY/containers/phpunit-with-php-8.1 :main
60+ image : $CI_REGISTRY/containers/phpunit-with-php-8.2 :main
8661 stage : lint
8762 before_script :
88- - sed -i -e "s#ssh://git@code.extco.de:22722#https://gitlab-ci-token:$CI_JOB_TOKEN@code.extco.de#g" composer.json
89- - composer config platform.php 8.1
9063 - composer install --no-progress --no-ansi --no-interaction
9164 script :
9265 - vendor/bin/phpstan analyse -c Build/phpstan.neon --memory-limit 256M
@@ -99,84 +72,67 @@ phpstan:analyse:
9972 only :
10073 - branches
10174 before_script :
102- - composer config --no-plugins allow-plugins.typo3/cms-composer-installers true
103- - composer config --no-plugins allow-plugins.typo3/class-alias-loader true
104- - composer require typo3/cms-core="${TYPO3_VERSION}"
75+ - composer install --no-progress --no-ansi --no-interaction
10576 script :
10677 - vendor/bin/phpunit -c Build/UnitTests.xml
107- - typo3DatabaseDriver=pdo_sqlite vendor/bin/phpunit -c Build/FunctionalTests.xml
10878
109- # Build in PHP 8.1 and TYPO3 12.4
110- test:php81:typo3_12 :
79+ test:phpunit.php82 :
11180 << : *test_php
11281 variables :
113- CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.1:main
114- TYPO3_VERSION : ^12.4
82+ CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.2:main
11583
116- # Build in PHP 8.2 and TYPO3 12.4
117- test:php82:typo3_12 :
84+ test:phpunit.php83 :
11885 << : *test_php
11986 variables :
120- CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.2:main
121- TYPO3_VERSION : ^12.4
87+ CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.3:main
12288
123- # Build in PHP 8.3 and TYPO3 12.4
124- test:php83:typo3_12 :
89+ test:phpunit.php84 :
12590 << : *test_php
12691 variables :
127- CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.3:main
128- TYPO3_VERSION : ^12.4
92+ CONTAINER_IMAGE : $CI_REGISTRY/containers/phpunit-with-php-8.4:main
12993
13094.test_codeception : &test_codeception
13195 stage : test
13296 image : $CONTAINER_IMAGE
13397 only :
13498 - branches
13599 before_script :
136- - sed -i -e "s#ssh://git@code.extco.de:22722#https://gitlab-ci-token:$CI_JOB_TOKEN@code.extco.de#g" composer.json
137- - composer config --no-plugins allow-plugins.typo3/cms-composer-installers true
138- - composer config --no-plugins allow-plugins.typo3/class-alias-loader true
139- - composer require typo3/cms-core="${TYPO3_VERSION}"
100+ - composer install --no-progress --no-ansi --no-interaction
140101 script :
141102 - mkdir -p .build/public/typo3temp/var/tests/acceptance-sqlite-dbs
142103 - export typo3DatabaseDriver=pdo_sqlite
143104 - export PROJECT_ROOT="$(pwd)"
144105 - export INSTANCE_PATH="$(pwd)/.build/web/typo3temp/var/tests/acceptance"
145106 - mkdir -p "$INSTANCE_PATH"
146107 - mkdir -p "$PROJECT_ROOT/.build/web/typo3temp/var/tests/acceptance-logs/"
108+ - vendor/bin/codecept build
147109 - vendor/bin/codecept run
148110 artifacts :
149111 paths :
150112 - .build
151113 expire_in : 1 day
152114 when : always
153115
154- # Build in PHP 8.1 and TYPO3 12.4
155- test:codception:php81:typo3_12 :
116+ test:codeception:php82 :
156117 << : *test_codeception
157118 variables :
158- CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.1:main
159- TYPO3_VERSION : ^12.4
119+ CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.2:main
160120 GECKODRIVER_VERSION : v0.34.0
161121
162- # Build in PHP 8.2 and TYPO3 12.4
163- test:codception:php82:typo3_12 :
122+ test:codeception:php83 :
164123 << : *test_codeception
165124 needs :
166- - test:codception:php81:typo3_12
125+ - test:codeception:php82
167126 variables :
168- CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.2:main
169- TYPO3_VERSION : ^12.4
127+ CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.3:main
170128 GECKODRIVER_VERSION : v0.34.0
171129
172- # Build in PHP 8.3 and TYPO3 12.4
173- test:codception:php83:typo3_12 :
130+ test:codeception:php84 :
174131 << : *test_codeception
175132 needs :
176- - test:codception:php82:typo3_12
133+ - test:codeception:php83
177134 variables :
178- CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.3:main
179- TYPO3_VERSION : ^12.4
135+ CONTAINER_IMAGE : $CI_REGISTRY/containers/codeception-with-php-8.4:main
180136 GECKODRIVER_VERSION : v0.34.0
181137
182138documentation :
0 commit comments