-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
38 lines (36 loc) · 1010 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
37
38
build:
nodes:
analysis:
dependencies:
before:
- composer require phpmv/ubiquity:dev-master codeception/codeception:^4.1 phpmv/ubiquity-annotations:^0.0 --dev
environment:
php:
version: 8.0
tests:
override:
- php-scrutinizer-run
coverage:
environment:
php:
version: 8.0
ini:
"xdebug.mode": coverage
services:
mysql: 5.7
tests:
before:
- composer require phpmv/ubiquity:dev-master phpmv/ubiquity-annotations:^0.0 --dev
- mysql -u root mysql < src/tests/unit/db/acls.sql
override:
- command: (cd src/ && ./../vendor/bin/codecept build && ./../vendor/bin/codecept run --coverage-xml -v)
coverage:
file: src/tests/_output/coverage.xml
format: clover
filter:
paths: ["src/Ubiquity/*"]
excluded_paths:
checks:
php:
code_rating: true
duplication: true