Skip to content

Commit 64fce93

Browse files
authored
Merge pull request #52 from villfa/fix/scrutinizer
Send code coverage to Scrutinizer
2 parents 5738c06 + adce248 commit 64fce93

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/push.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
needs: setup
4949
steps:
5050
- uses: actions/checkout@master
51+
with:
52+
fetch-depth: 0
5153
- name: Restore/cache vendor folder
5254
uses: actions/cache@v1
5355
with:
@@ -71,6 +73,11 @@ jobs:
7173
coverage: xdebug
7274
- name: Run PHPUnit
7375
run: php tools/phpunit
76+
- name: Send code coverage to Scrutinizer
77+
uses: sudo-bot/action-scrutinizer@latest
78+
if: github.repository == 'phpDocumentor/FlyFinder'
79+
with:
80+
cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
7481

7582
codestyle:
7683
runs-on: ubuntu-latest

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2-
[![Coveralls Coverage](https://img.shields.io/coveralls/github/phpDocumentor/FlyFinder.svg)](https://coveralls.io/github/phpDocumentor/FlyFinder?branch=master)
32
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/phpDocumentor/FlyFinder.svg)](https://scrutinizer-ci.com/g/phpDocumentor/FlyFinder/?branch=master)
43
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/phpDocumentor/FlyFinder.svg)](https://scrutinizer-ci.com/g/phpDocumentor/FlyFinder/?branch=master)
54
[![Stable Version](https://img.shields.io/packagist/v/phpDocumentor/FlyFinder.svg)](https://packagist.org/packages/phpDocumentor/FlyFinder)

0 commit comments

Comments
 (0)