adding functional test
This commit is contained in:
parent
86cf0c546b
commit
bd503834d7
3 changed files with 37 additions and 1 deletions
29
.woodpecker/Build/composer.json
Normal file
29
.woodpecker/Build/composer.json
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"name": "digicomp/settingvalidator-distribution",
|
||||||
|
"description": "SettingValidator Distribution",
|
||||||
|
"config": {
|
||||||
|
"vendor-dir": "Packages/Libraries",
|
||||||
|
"bin-dir": "bin",
|
||||||
|
"platform": {
|
||||||
|
"php": "7.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"digicomp/settingvalidator": "*@dev",
|
||||||
|
"php": "~7.4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"neos/buildessentials": "^5.3",
|
||||||
|
"phpunit/phpunit": "~8.1",
|
||||||
|
"mikey179/vfsstream": "~1.6"
|
||||||
|
},
|
||||||
|
"repositories": [
|
||||||
|
{ "type": "path", "url": "../../../src" }
|
||||||
|
],
|
||||||
|
"scripts": {
|
||||||
|
"post-update-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
|
||||||
|
"post-install-cmd": "Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
|
||||||
|
"post-package-update": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
|
||||||
|
"post-package-install": "Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,4 +4,4 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
|
||||||
- composer global require digicomp/php-codesniffer:@dev
|
- composer global require digicomp/php-codesniffer:@dev
|
||||||
- composer global exec -- phpcs --standard=DigiComp .
|
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Migrations/ Tests/ Resources/Private/
|
||||||
|
|
7
.woodpecker/test.yml
Normal file
7
.woodpecker/test.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: composer
|
||||||
|
commands:
|
||||||
|
- cd .woodpecker/Build
|
||||||
|
- composer install
|
||||||
|
- bin/phpunit --configuration Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/DigiComp.SettingValidator/Tests/Functional
|
Loading…
Reference in a new issue