Open
Description
Issue
It's only happening when the repo name includes -
. It'll work if the repo name is single word or use _
.
As you see, even tough it's showing the error, our Run Danger
is still passing.

I think this happens when undercover-report tries to find /lcov/google-crawler.lcov
instead of /lcov/google_crawler.lcov
/home/runner/work/google-crawler/google-crawler/vendor/bundle/ruby/3.2.0/gems/undercover-0.4.6/lib/
undercover.rb:32:in `initialize': No such file or directory @ rb_sysopen - /home/runner/work/
google-crawler/google-crawler/coverage/lcov/google-crawler.lcov (Errno::ENOENT)
from /home/runner/work/google-crawler/google-crawler/vendor/bundle/ruby/3.2.0/gems
/undercover-0.4.6/lib/undercover.rb:32:in `open'

But it's creating correctly lcov/google-crawler.lcov
when try to run in local 😵
Expected
Run bundle exec undercover-report -l /home/runner/work/google-crawler/google-crawler/coverage/lcov/google_crawler.lcov
##[debug]/usr/bin/bash -e /home/runner/work/_temp/ba524503-14d3-42fe-bd4b-8148a20b0d53.sh
✅ No reportable changes
Undercover finished in 0.015s
Steps to reproduce
- Create New project using our template, make sure to include
-
in the repo name and create pull request to main or develop with some changes. - You can see the error under
Run Danger
>Run Undercover