Add PHPStan config
This commit is contained in:
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
Reference in New Issue
Block a user