codecov / codecov-ruby

Ruby uploader for Codecov
https://codecov.io
MIT License
72 stars 82 forks source link

Using flags #139

Closed Nerian closed 3 years ago

Nerian commented 3 years ago

Hi,

https://docs.codecov.io/docs/about-the-codecov-bash-uploader#arguments

When using the bash it would be something like this:

bash <(curl -s https://codecov.io/bash) -F flag1

How can I set the flags when using codecov-ruby?

Thanks.

thomasrockhu commented 3 years ago

@Nerian this is unfortunately not possible with the Ruby uploader. I'll let the product team know

Nerian commented 3 years ago

Hi,

It is possible, but not documented. I just needed to use the env variables:

https://github.com/codecov/codecov-ruby/blob/master/lib/codecov/uploader.rb#L130

I suggest documenting it in the readme.