2023-09-28 17:48:25 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
tests:
|
|
|
|
build: ./
|
|
|
|
working_dir: /project
|
2023-11-25 09:38:20 +01:00
|
|
|
command: bash -c "composer install && ./vendor/bin/phpunit -vvv"
|
2023-09-28 17:48:25 +02:00
|
|
|
volumes:
|
|
|
|
- ./:/project
|
2024-01-14 10:49:20 +01:00
|
|
|
coverage:
|
|
|
|
build: ./
|
|
|
|
working_dir: /project
|
|
|
|
command: bash -c "composer install && ./vendor/bin/phpunit --coverage-text"
|
|
|
|
volumes:
|
|
|
|
- ./:/project
|
|
|
|
environment:
|
|
|
|
- XDEBUG_MODE=coverage
|
2023-09-30 11:48:42 +02:00
|
|
|
analysis:
|
|
|
|
build: ./
|
|
|
|
working_dir: /project
|
2023-12-17 09:26:37 +01:00
|
|
|
command: bash -c "composer install && ./vendor/bin/phpstan analyze --memory-limit=512M --level=4 ./src"
|
2023-09-30 11:48:42 +02:00
|
|
|
volumes:
|
|
|
|
- ./:/project
|