Closed dfsmania closed 3 months ago
[!Caution] Again facing problems with uploading coverage to scrutinizer....
Logic that involves downloading ocular.phar
do not work:
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
This gives the same error we faced before:
[Guzzle\Common\Exception\InvalidArgumentException]
Invalid handle provided
Also, we can't use the scrutinizer/ocular
dev dependency when testing on Laravel 11. because there's a conflict of package requirements with ocular
. So, the only workaround we can use for now, is to keep uploading coverage for Laravel 10.X version, but removing scrutinizer/ocular from the dev dependencies and require it with composer when uploading the coverage.
What's in this PR?
checkout
andcache
actions tov4
scrutinizer/ocular
from dev dependencies, it's instead required in the upload coverage stepChecklist