File tree Expand file tree Collapse file tree 2 files changed +9
-33
lines changed Expand file tree Collapse file tree 2 files changed +9
-33
lines changed Original file line number Diff line number Diff line change @@ -250,9 +250,15 @@ jobs:
250250
251251 - name : Coverage
252252 run : |
253- ./vendor/bin/phpunit --coverage-clover coverage-clover.xml
254- composer global require scrutinizer/ocular
255- ~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage-clover.xml
253+ ./vendor/bin/phpunit --coverage-clover build/clover.xml
254+
255+ - name : Upload coverage results to Coveralls
256+ env :
257+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
258+ run : |
259+ wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
260+ chmod +x php-coveralls.phar
261+ php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
256262
257263 release :
258264 permissions :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments