You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
herbarium/.drone.yml

31 lines
615 B

kind: pipeline
name: default
type: docker
on:
push:
steps:
- name: install
image: composer/composer:2
commands:
- composer install --no-interaction
- name: lint
image: php:8.3
commands:
- php bin/console lint:container
- php vendor/bin/phpstan analyse
depends_on:
- install
- name: test
image: php:8.3
commands:
- php bin/console make:migration
- php bin/console doctrine:migrations:migrate --no-interaction
- php bin/console doctrine:fixtures:load --no-interaction --env=test
- php bin/phpunit
depends_on:
- install