Skip to content

Commit 3d04f59

Browse files
committed
Add php-coveralls/php-coveralls, use coverallsapp/github-action@master as action
1 parent ffb5698 commit 3d04f59

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/blank.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,14 @@ jobs:
2323
- name: Build docker images
2424
run: |
2525
docker-compose build --build-arg PHP_VERSION=${{ matrix.php }}
26+
- name: Install dependencies
27+
run: |
2628
docker-compose run --rm tests composer install --no-interaction
29+
- name: Generating code coverage
30+
run: |
2731
docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml
32+
- name: Coveralls Parallel
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: ${{ secrets.github_token }}
36+
path-to-lcov: ./clover.xml

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"orchestra/testbench": "^3.1|^4.0",
3131
"mockery/mockery": "^1.0",
3232
"satooshi/php-coveralls": "^2.0",
33+
"php-coveralls/php-coveralls": "^2.1",
3334
"doctrine/dbal": "^2.5"
3435
},
3536
"autoload": {

0 commit comments

Comments
 (0)