xhd2015 / xgo

All-in-one go testing library
MIT License
289 stars 16 forks source link

Proposal: always install xgo-tool-coverage-serve-darwin-amd64 from source when using incremental coverage #196

Open xhd2015 opened 3 weeks ago

xhd2015 commented 3 weeks ago

When running xgo tool coverage serve cover.out, Mac OS fails with:

signal: killed

This is due to xgo depends an external downloaded tool, which is prohibited by the Mac OS security policy.

This external binary comes from: https://github.com/xhd2015/coverage-visualizer/releases

xhd2015 commented 3 weeks ago

Currently if user faces this issue, can try rm ~/.xgo/tool/xgo-tool-coverage-serve and rerun again