You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the tool, I'm trying to use it to get coverage reports in my GH Actions.
I'm building the binary myself using Nix which builds it fine, and then runs the tests. The way it fetches the sources is not a full clone, but just a "download as zip".
This causes the tests to fail since getCoverallsSourceFileName ends up returning an absolute path:
For now, the easiest way to run the test would be to create an empty directory .git in the projects root dir, before the tests are run (i.e. mkdir .git). I'll check if we can get rid off the code checking for a vcs root dir....
Hi,
Thanks for the tool, I'm trying to use it to get coverage reports in my GH Actions.
I'm building the binary myself using Nix which builds it fine, and then runs the tests. The way it fetches the sources is not a full clone, but just a "download as zip".
This causes the tests to fail since
getCoverallsSourceFileName
ends up returning an absolute path:I can workaround this by skipping the tests run, but thought I'd report it here :)
The text was updated successfully, but these errors were encountered: