-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmysql.yml
More file actions
39 lines (32 loc) · 755 Bytes
/
mysql.yml
File metadata and controls
39 lines (32 loc) · 755 Bytes
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
39
checks:
php: true
filter:
paths:
- "src/*"
build:
environment:
php:
version: 8.0.17
ini:
xdebug.mode: coverage
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
tests-and-coverage:
services:
mysql: 5.7
dependencies:
override:
- composer self-update
- composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
tests:
before:
- mysql -u root -e "CREATE DATABASE test"
override:
- command: ./vendor/bin/phpunit --coverage-clover ./coverage.xml
on_node: 1
coverage:
file: coverage.xml
format: php-clover