-
Notifications
You must be signed in to change notification settings - Fork 8
/
scrutinizer-ci.yaml
37 lines (34 loc) · 1.04 KB
/
scrutinizer-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# @see https://scrutinizer-ci.com/g/strangebuzz/MicroSymfony/settings/build-config
build:
environment:
php: 8.3.12
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
# https://scrutinizer-ci.com/docs/build/code_coverage
coverage:
tests:
override:
- command: XDEBUG_MODE=coverage php -d xdebug.enable=1 -d memory_limit=-1 vendor/bin/phpunit --coverage-html=var/coverage --coverage-clover=var/coverage/clover.xml
coverage:
file: var/coverage/clover.xml
format: clover
filter:
excluded_paths:
- 'castor.php'
- 'tests/*'
- 'bin/*'
- '*/vendor/*'
checks:
php: true
coding_style:
php: { }