File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,10 @@ jobs:
79
79
run : |
80
80
vendor/bin/phpcov merge --clover build/logs/clover.xml build/cov
81
81
82
- coveralls :
83
- needs : [main]
84
- name : Coveralls Finished
85
- runs-on : ubuntu-latest
86
- steps :
87
- - name : Upload Coveralls results
88
- uses : coverallsapp/github-action@master
89
- continue-on-error : true
90
- with :
91
- github-token : ${{ secrets.GITHUB_TOKEN }}
92
- parallel-finished : true
82
+ - if : matrix.php-versions == '8.1'
83
+ name : Upload coverage to Coveralls
84
+ run : |
85
+ composer global require php-coveralls/php-coveralls
86
+ php-coveralls --verbose --exclude-no-stmt --ansi
87
+ env :
88
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 78
78
"cs" : " vendor/bin/php-cs-fixer fix --ansi --verbose --dry-run --diff" ,
79
79
"rector" : " vendor/bin/rector process --dry-run" ,
80
80
"phpstan" : " bash -c \" XDEBUG_MODE=off phpstan analyse\" " ,
81
- "test" : " vendor/bin/phpunit tests/ "
81
+ "test" : " vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml --coverage-php build/cov/coverage.cov --testsuite main "
82
82
}
83
83
}
Original file line number Diff line number Diff line change 46
46
</logging >
47
47
<source >
48
48
<include >
49
- <directory suffix =" .php" >tests </directory >
49
+ <directory suffix =" .php" >src </directory >
50
50
</include >
51
- <exclude >
52
- <directory suffix =" .php" >tests/_support</directory >
53
- </exclude >
54
51
</source >
55
52
<php >
56
53
<ini name =" date.timezone" value =" UTC" />
You can’t perform that action at this time.
0 commit comments