File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 51
51
run : composer update --working-dir ${{ env.INSTALL_PATH }}
52
52
53
53
- name : Run unit tests
54
- run : composer test --working-dir ${{ env.INSTALL_PATH }}
54
+ run : composer test --working-dir ${{ env.INSTALL_PATH }}
55
+
56
+ - name : Run mutation tests
57
+ run : composer infect --working-dir ${{ env.INSTALL_PATH }}
Original file line number Diff line number Diff line change 39
39
"ext-ctype" : " *"
40
40
},
41
41
"require-dev" : {
42
- "phpunit/phpunit" : " ~9.0"
42
+ "phpunit/phpunit" : " ~9.0" ,
43
+ "infection/infection" : " ^0.25.5"
43
44
},
44
45
"autoload" : {
45
46
"psr-4" : {
52
53
}
53
54
},
54
55
"scripts" : {
55
- "test" : " phpunit tests/"
56
+ "test" : " phpunit tests/" ,
57
+ "infect" : " XDEBUG_MODE=coverage infection --threads=2"
56
58
},
57
59
"minimum-stability" : " stable" ,
58
60
"prefer-stable" : true
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " vendor/infection/infection/resources/schema.json" ,
3
+ "source" : {
4
+ "directories" : [
5
+ " src"
6
+ ]
7
+ },
8
+ "mutators" : {
9
+ "@default" : true
10
+ }
11
+ }
You can’t perform that action at this time.
0 commit comments