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

nil can't be coerced into Float (TypeError) #32

Open
deepakmahakale opened this issue Aug 21, 2024 · 0 comments
Open

nil can't be coerced into Float (TypeError) #32

deepakmahakale opened this issue Aug 21, 2024 · 0 comments

Comments

@deepakmahakale
Copy link

It seems like an issue with generating the report

[Minitest::CI] Generating test report in JUnit XML format...
/home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:115:in `+': nil can't be coerced into Float (TypeError)

        total_time += result.time
                      ^^^^^^^^^^^
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:115:in `block in generate_results'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:114:in `each'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:114:in `generate_results'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:99:in `block (3 levels) in report'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:98:in `open'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:98:in `block (2 levels) in report'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:97:in `each'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:97:in `block in report'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:96:in `chdir'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-ci-3.4.0/lib/minitest/ci_plugin.rb:96:in `report'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/minitest.rb:1008:in `each'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/minitest.rb:1008:in `report'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/minitest.rb:297:in `run'
        from /home/circleci/my-project/vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/lib/minitest.rb:86:in `block in autorun'
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