From b10284a7cbdcbd62153532f10f7fe4d0a1482c3a Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Sun, 1 May 2022 00:24:35 +0200 Subject: [PATCH] Adding .woodpecker pipelines --- .woodpecker/code-style.yml | 6 ++++++ .woodpecker/test.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .woodpecker/code-style.yml create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/code-style.yml b/.woodpecker/code-style.yml new file mode 100644 index 0000000..2501738 --- /dev/null +++ b/.woodpecker/code-style.yml @@ -0,0 +1,6 @@ +pipeline: + code-style: + image: thecodingmachine/php:7.4-v4-cli + commands: + - composer install + - vendor/bin/phpcs --standard=DigiComp src diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..2a2b23c --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,6 @@ +pipeline: + functional-tests: + image: thecodingmachine/php:7.4-v4-cli + commands: + - "composer install" + - "vendor/bin/phpunit --configuration phpunit.xml.dist"