backupscript/.woodpecker.yml
Jens True 66ad8aa592
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is running
ci/woodpecker/manual/woodpecker Pipeline was successful
Build and test / requirements (push) Failing after 14m39s
Better matrix builds
2024-03-21 10:12:50 +00:00

27 lines
585 B
YAML

when:
- event: [push, pull_request, pull_request_closed, tag, release, manual]
steps:
- name: requirements
image: composer
commands:
- composer install --no-dev
- name: run
image: php:cli-alpine
commands:
- ./backup show config.example.yml
- name: dependencies
image: composer
commands:
- composer install
- composer analyze
- name: test
image: php:cli-bookworm
commands:
- apt update
- apt install rclone
- vendor/bin/phpunit --no-coverage
- name: document
image: phpdoc/phpdoc
commands:
- phpdoc