simplecov-ruby/simplecov

ArgumentError: bad argument (expected URI object or URI string)

paddor opened this issue · 0 comments

Creating an issue here since Codecov repo is archived.

_____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _\`|/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                               Ruby-0.2.12
==> GitHub Actions detected
==> Appending file network
==> Gzipping contents
==> Uploading reports
    url:   https://codecov.io/
    query: token=secret&flags&package=ruby-0.2.12&service=github-actions&branch=&slug=paddor%2Fcztop&build=9864554333&commit=9b1ed72edce8e872701c04e435c3766ffd47d129
->  Pinging Codecov
https://codecov.io/upload/v4?token=secret&flags&package=ruby-0.2.12&service=github-actions&branch=&slug=paddor%2Fcztop&build=9864554333&commit=9b1ed72edce8e872701c04e435c3766ffd47d129
->  Uploading to

/opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/3.3.0/uri/common.rb:848:in `URI': bad argument (expected URI object or URI string) (ArgumentError)
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/codecov-0.2.12/lib/codecov.rb:409:in `upload_to_v4'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/codecov-0.2.12/lib/codecov.rb:375:in `upload_to_codecov'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/codecov-0.2.12/lib/codecov.rb:473:in `format'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/simplecov-0.22.0/lib/simplecov/result.rb:51:in `format!'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/simplecov-0.22.0/lib/simplecov/configuration.rb:197:in `block in at_exit'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/simplecov-0.22.0/lib/simplecov.rb:189:in `run_exit_tasks!'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/simplecov-0.22.0/lib/simplecov.rb:179:in `at_exit_behavior'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/simplecov-0.22.0/lib/simplecov/defaults.rb:30:in `block in <top (required)>'