2022-08-05 13:36:06 +02:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-08-05 13:34:35 +02:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: install
|
|
|
|
image: composer
|
|
|
|
commands:
|
|
|
|
- composer install
|
|
|
|
|
|
|
|
- name: phpstan
|
2023-12-01 11:04:30 +01:00
|
|
|
image: php:8.3
|
2022-08-05 13:38:28 +02:00
|
|
|
depends_on:
|
|
|
|
- install
|
2022-08-05 13:34:35 +02:00
|
|
|
commands:
|
|
|
|
- vendor/bin/phpstan analyse
|
|
|
|
|
2022-11-29 19:52:02 +01:00
|
|
|
- name: rector
|
2023-12-01 11:04:30 +01:00
|
|
|
image: php:8.3
|
2022-11-29 19:52:02 +01:00
|
|
|
depends_on:
|
|
|
|
- install
|
|
|
|
commands:
|
|
|
|
- vendor/bin/rector process --dry-run
|
|
|
|
|
2023-12-03 16:50:09 +01:00
|
|
|
- name: pest
|
2023-12-01 11:04:30 +01:00
|
|
|
image: php:8.3
|
2022-08-05 13:38:28 +02:00
|
|
|
depends_on:
|
|
|
|
- install
|
2022-08-05 13:34:35 +02:00
|
|
|
commands:
|
2023-12-03 16:50:09 +01:00
|
|
|
- vendor/bin/pest
|
2022-08-05 13:34:35 +02:00
|
|
|
|
|
|
|
- name: style check
|
2023-12-01 11:04:30 +01:00
|
|
|
image: php:8.3
|
2022-08-05 13:38:28 +02:00
|
|
|
depends_on:
|
|
|
|
- install
|
2022-08-05 13:34:35 +02:00
|
|
|
commands:
|
2022-11-29 19:52:02 +01:00
|
|
|
- vendor/bin/php-cs-fixer fix
|