forked from yiisoft/demo
/
.scrutinizer.yml
38 lines (30 loc) · 994 Bytes
/
.scrutinizer.yml
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
checks:
php: true
filter:
paths:
- "src/*"
build:
nodes:
analysis:
environment:
php: 7.4.12
tests:
override:
- php-scrutinizer-run
tests-and-coverage:
environment:
php: 7.4.12
dependencies:
override:
- composer self-update
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
tests:
override:
-
command: |
php -S 127.0.0.1:8080 -t public public/index-test.php > ./runtime/yii.log 2>&1 &
vendor/bin/codecept run --coverage-xml
on_node: 1
coverage:
file: runtime/tests/_output/coverage.xml
format: php-clover