27 lines
585 B
YAML
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 |