-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added support for tags #3
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can merge.
nice feature |
Hey, ping @mhr3 , would you still be willing to merge this? Just ran into the same thing and thankful you already have the fix. and @rrylee / @boumenot could you open up issues on the repo? Even if you don't want to be dealing with pseudo-customer-support, it's nice to be able to diagnose and solve issues with the help of the community for things that might not merit a PR. Now that this is the go-to fork for |
I don't have privileges to merge this, but fwiw you can use the GOFLAGS env var to set the tags, so this patch isn't strictly required. |
Sorry for the late response. I didn't expect anyone to submit PRs for this repo, and I don't pay attention to it.
If the same functionality can be achieved without a code change I would prefer that. Is there a reason to prefer code over an environment variable for this particular case? |
Ye this can be solved with
|
We have case where we generate one merged cover profile from multiple OSes. We have coverage run in windows, darwin and linux machines and then merge that. Because the source files from other OSes are not included in Using |
Does it still make sense to keep this PR open? |
I stumbled over the same issue but wasn't able to find out what is happening from the error message. After doing the whole checkout, debug, and finally implementing tags support dance I wanted to open a PR and saw this PR 😅 I think we at least need an improved error message. Another option would be to just skip files that are not found in the packages, but that would also mean parts of the coverage report is dropped. Or implement Note: My implementation would support setting the |
I was getting a weird:
code coverage conversion failed: open : no such file or directory
error, after tracking it down, it turned out it was trying to find a file which was only built using a specific tag, so I added a flag to specify tagsAlso turned the error into
code coverage conversion failed: unable to determine file path for ${path}