File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 36
36
run : composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
37
37
38
38
- name : Execute tests
39
- run : vendor/bin/phpunit -v --coverage-text
39
+ run : vendor/bin/phpunit -v --coverage-text --coverage-clover build/logs/clover.xml
40
+
41
+ - name : Upload coverage results to Coveralls
42
+ env :
43
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
+ run : |
45
+ composer global require php-coveralls/php-coveralls
46
+ php-coveralls --coverage_clover=build/logs/clover.xml -v
Original file line number Diff line number Diff line change 1
1
# Abstract server side php implementation of the JSON: API protocol.
2
2
3
+ [ ![ phpunit] ( https://github.com/dogado-group/json-api-server/actions/workflows/phpunit.yml/badge.svg )] ( https://github.com/dogado-group/json-api-server/actions/workflows/phpunit.yml )
4
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/dogado-group/json-api-server/badge.svg?branch=main )] ( https://coveralls.io/github/dogado-group/json-api-server?branch=main )
5
+ [ ![ Total Downloads] ( https://poser.pugx.org/dogado/json-api-server/downloads )] ( https://packagist.org/packages/dogado/json-api-server )
6
+ [ ![ Latest Stable Version] ( https://poser.pugx.org/dogado/json-api-server/v/stable )] ( https://packagist.org/packages/dogado/json-api-server )
7
+ [ ![ Latest Unstable Version] ( https://poser.pugx.org/dogado/json-api-server/v/unstable.png )] ( https://packagist.org/packages/dogado/json-api-server )
8
+ [ ![ License] ( https://poser.pugx.org/dogado/json-api-server/license )] ( https://packagist.org/packages/dogado/json-api-server )
9
+
3
10
## Installation
4
11
5
12
``` sh
Original file line number Diff line number Diff line change 17
17
"doctrine/cache" : " ^1.10"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " ^9.0 " ,
20
+ "phpunit/phpunit" : " ^9.5 " ,
21
21
"fakerphp/faker" : " ^1.10" ,
22
22
"phpstan/phpstan" : " ^0.12.49" ,
23
23
"guzzlehttp/psr7" : " ^1.7" ,
You can’t perform that action at this time.
0 commit comments