Skip to content

Commit 4ee20ad

Browse files
committed
chore: add hack to autoload.psr-4
1 parent 0d8064f commit 4ee20ad

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)