Skip to content

Commit c4bd34e

Browse files
authored
Merge pull request #7956 from kenjis/fix-reusable-coveralls.yml
chore: fix Upload coverage results to Coveralls / coveralls
2 parents 5712e6c + 4ee20ad commit c4bd34e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/reusable-coveralls.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ jobs:
5757
run: composer update --ansi
5858

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

0 commit comments

Comments
 (0)