File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,14 @@ jobs:
111
111
112
112
- name : " Run PHPCS check"
113
113
run : " composer cs-check"
114
- if : " ${{ matrix.php-version == '7.4 ' }}"
114
+ if : " ${{ matrix.coverage == 'true ' }}"
115
115
116
116
- name : " Run PHPUnit with coverage"
117
- run : " vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.xml"
117
+ run : " vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage-report .xml"
118
118
if : " ${{ matrix.coverage == 'true' }}"
119
119
120
- - name : " Upload coverage"
121
- run : " wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./coverage.xml"
120
+ - name : Upload code coverage
121
+ uses : codecov/codecov-action@v1
122
+ with :
123
+ file : coverage-report.xml
122
124
if : " ${{ matrix.coverage == 'true' }}"
Original file line number Diff line number Diff line change 3
3
A library to validate JWT tokens.
4
4
5
5
[ ![ Build Status] ( https://github.com/facile-it/php-jose-verifier/workflows/Continuous%20Integration/badge.svg?branch=master )] ( https://github.com/facile-it/php-jose-verifier/actions )
6
- [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/facile-it/php-jose-verifier/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/facile-it/php-jose-verifier/?branch=master )
7
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/facile-it/php-jose-verifier/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/facile-it/php-jose-verifier/?branch=master )
6
+ [ ![ codecov] ( https://codecov.io/gh/facile-it/php-jose-verifier/branch/master/graph/badge.svg?token=1RHS0NWD2L )] ( https://codecov.io/gh/facile-it/php-jose-verifier )
8
7
[ ![ Latest Stable Version] ( https://poser.pugx.org/facile-it/php-jose-verifier/v/stable )] ( https://packagist.org/packages/facile-it/php-jose-verifier )
9
8
[ ![ Total Downloads] ( https://poser.pugx.org/facile-it/php-jose-verifier/downloads )] ( https://packagist.org/packages/facile-it/php-jose-verifier )
10
9
[ ![ Latest Unstable Version] ( https://poser.pugx.org/facile-it/php-jose-verifier/v/unstable )] ( https://packagist.org/packages/facile-it/php-jose-verifier )
You can’t perform that action at this time.
0 commit comments