Ferdinand Kuhl
0de901d45c
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline failed
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
workspace:
|
|
base: /woodpecker
|
|
path: package
|
|
|
|
matrix:
|
|
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
|
|
|
|
steps:
|
|
functional-tests:
|
|
image: "thecodingmachine/php:${PHP_VERSION}-v4-cli"
|
|
environment:
|
|
# Enable the PDO_SQLITE extension
|
|
- "PHP_EXTENSION_PDO_SQLITE=1"
|
|
- "FLOW_VERSION=${FLOW_VERSION}"
|
|
- "NEOS_BUILD_DIR=/woodpecker/Build-${FLOW_VERSION}"
|
|
commands:
|
|
- "sudo mkdir $NEOS_BUILD_DIR"
|
|
- "sudo chown -R docker:docker $NEOS_BUILD_DIR"
|
|
- "cd $NEOS_BUILD_DIR"
|
|
- "composer create-project --no-install neos/flow-base-distribution:^$FLOW_VERSION ."
|
|
- "composer config repositories.repo-name path /woodpecker/package"
|
|
- "composer remove --dev --no-update neos/behat || composer remove --no-update neos/behat"
|
|
- "composer require digicomp/fluid-render-functions:@dev"
|
|
- "bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.FluidRenderFunctions/Tests/Functional"
|
|
when:
|
|
- event: [ push, pull_request, manual ]
|