Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Repair code coverage tool #79

Open
olleolleolle opened this issue Apr 1, 2022 · 0 comments
Open

CI: Repair code coverage tool #79

olleolleolle opened this issue Apr 1, 2022 · 0 comments

Comments

@olleolleolle
Copy link
Contributor

In GitHub Actions output, examples:

Coveralls encountered an exception:
NoMethodError
undefined method `coverage' for #<SimpleCov::SourceFile:0x00007f3142fd0cd0 @filename="/home/runner/work/gyoku/gyoku/lib/gyoku.rb", @coverage_data={"lines"=>[1, 1, nil, 1, nil, nil, 1, 4, nil, nil, nil, 1, 6, nil, nil, nil]}>

          properties[:coverage] = file.coverage
                                      ^^^^^^^^^
Did you mean?  coverage_data
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:50:in `block in format'
/opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/3.1.0/forwardable.rb:238:in `each'
/opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/3.1.0/forwardable.rb:238:in `each'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/coveralls-0.7.2/lib/coveralls/simplecov.rb:40:in `format'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/simplecov-0.21.2/lib/simplecov/result.rb:51:in `format!'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/simplecov-0.21.2/lib/simplecov/configuration.rb:197:in `block in at_exit'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/simplecov-0.21.2/lib/simplecov.rb:189:in `run_exit_tasks!'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/simplecov-0.21.2/lib/simplecov.rb:179:in `at_exit_behavior'
/home/runner/work/gyoku/gyoku/vendor/bundle/ruby/3.1.0/gems/simplecov-0.21.2/lib/simplecov/defaults.rb:30:in `block in <top (required)>'
@olleolleolle olleolleolle mentioned this issue Apr 1, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant