2022-04-30 15:16:28 +02:00
|
|
|
workspace:
|
|
|
|
base: /woodpecker
|
|
|
|
path: package
|
|
|
|
|
|
|
|
matrix:
|
2023-02-18 23:55:38 +01:00
|
|
|
include:
|
|
|
|
- FLOW_VERSION: 6.3
|
|
|
|
PHP_VERSION: 7.4
|
|
|
|
- FLOW_VERSION: 7.3
|
|
|
|
PHP_VERSION: 7.4
|
|
|
|
- FLOW_VERSION: 7.3
|
|
|
|
PHP_VERSION: 8.2
|
|
|
|
- FLOW_VERSION: 8.2
|
|
|
|
PHP_VERSION: 8.2
|
2022-04-30 15:16:28 +02:00
|
|
|
|
2022-04-29 01:47:02 +02:00
|
|
|
pipeline:
|
2022-04-30 15:16:28 +02:00
|
|
|
functional-tests:
|
2023-02-18 23:55:38 +01:00
|
|
|
image: thecodingmachine/php:${PHP_VERSION}-v4-cli
|
2022-04-30 15:16:28 +02:00
|
|
|
environment:
|
|
|
|
# Enable the PDO_SQLITE extension
|
|
|
|
- "PHP_EXTENSION_PDO_SQLITE=1"
|
2022-04-30 18:16:17 +02:00
|
|
|
- "FLOW_VERSION=${FLOW_VERSION}"
|
|
|
|
- "NEOS_BUILD_DIR=/woodpecker/Build-${FLOW_VERSION}"
|
2022-04-29 01:47:02 +02:00
|
|
|
commands:
|
2022-04-30 15:16:28 +02:00
|
|
|
- "sudo mkdir $NEOS_BUILD_DIR"
|
|
|
|
- "sudo chown -R docker:docker $NEOS_BUILD_DIR"
|
|
|
|
- "cd $NEOS_BUILD_DIR"
|
2022-04-30 18:16:17 +02:00
|
|
|
- "composer create-project --no-install neos/flow-base-distribution:^$FLOW_VERSION ."
|
2022-04-30 15:16:28 +02:00
|
|
|
- "composer config repositories.repo-name path /woodpecker/package"
|
2023-02-18 23:55:38 +01:00
|
|
|
- "composer remove --dev --no-update neos/behat || composer remove --no-update neos/behat"
|
2022-04-30 15:16:28 +02:00
|
|
|
- "composer require digicomp/settingvalidator:@dev"
|
|
|
|
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional"
|