Skip to content

Commit

Permalink
Merge pull request #7956 from kenjis/fix-reusable-coveralls.yml
Browse files Browse the repository at this point in the history
chore: fix Upload coverage results to Coveralls / coveralls
  • Loading branch information
kenjis authored Sep 22, 2023
2 parents 5712e6c + 4ee20ad commit c4bd34e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/reusable-coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:
run: composer update --ansi

- name: Merge coverage files
run: vendor/bin/phpcov merge --clover build/logs/clover.xml build/cov
run: |
jq '.autoload."psr-4" += {"Config\\": "app/Config/"}' composer.json > temp.json && mv temp.json composer.json
composer dump-autoload
vendor/bin/phpcov merge --clover build/logs/clover.xml build/cov
- name: Upload coverage to Coveralls
run: vendor/bin/php-coveralls --verbose --exclude-no-stmt --ansi
Expand Down

0 comments on commit c4bd34e

Please sign in to comment.