backupscript/.woodpecker.yml
2023-06-01 09:22:23 +00:00

22 lines
529 B
YAML

pipeline:
requirements:
image: composer
commands:
- composer install --no-dev
run:
image: php
commands:
- ./backup show config.example.yml
test:
image: composer
commands:
- composer install
- ./vendor/bin/phpunit tests
analyze:
image: php
commands:
- ./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
- ./vendor/bin/phpstan analyze --level=7 src/ backup
- ./vendor/bin/psalm
- ./vendor/bin/phpcs src
failure: ignore