Skip to content

Commit 3d4e74c

Browse files
committed
Add back coveralls
1 parent c38a187 commit 3d4e74c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ jobs:
1515
php-version: ${{matrix.php}}
1616
- run: composer install
1717
- run: php vendor/bin/phpunit
18+
- name: Upload coverage results to Coveralls
19+
env:
20+
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
run: |
22+
composer global require php-coveralls/php-coveralls
23+
php-coveralls --coverage_clover=build/logs/clover.xml -v

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"guzzlehttp/oauth-subscriber": "~0.8.1"
1010
},
1111
"require-dev": {
12-
"phpunit/phpunit": "^9.0",
13-
"php-coveralls/php-coveralls": "^v2.7.0"
12+
"phpunit/phpunit": "^9.0"
1413
},
1514
"license": "mit",
1615
"authors": [

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Build Status](https://github.com/nickdnk/gatewayapi-php/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/nickdnk/gatewayapi-php/actions)
2+
[![Coverage Status](https://coveralls.io/repos/github/nickdnk/gatewayapi-php/badge.svg?branch=master)](https://coveralls.io/github/nickdnk/gatewayapi-php?branch=master)
23
# GatewayAPI PHP Library
34

45
This library will allow you to integrate the **GatewayAPI.com** API in your project using modern PHP.

0 commit comments

Comments
 (0)