feature/drone-ci-tests #1

Merged
fkuhl merged 4 commits from :feature/drone-ci-tests into feature/drone-ci-tests 2022-04-30 18:36:20 +02:00
3 changed files with 37 additions and 1 deletions
Showing only changes of commit bd503834d7 - Show all commits

View 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"
}
}

View file

@ -4,4 +4,4 @@ pipeline:
commands:
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
- 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
View 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