Also build docker
This commit is contained in:
27
.woodpecker/test.yml
Normal file
27
.woodpecker/test.yml
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
Reference in New Issue
Block a user