umoci icon indicating copy to clipboard operation
umoci copied to clipboard

switch to go build -cover for integration tests

Open cyphar opened this issue 2 years ago • 0 comments

With Go 1.20, we can now avoid using the whole go test -c -cover setup by simply building the regular binary with coverage profiling enabled, which should make all of our testing logic much simpler.

I suspect codecov doesn't support the new coverage format so we will need to use go tool covdata textfmt to convert back to the format it understands (though thankfully the new binary format can auto-merge everything without needing the awk script I wrote for that purpose).

cyphar avatar May 18 '23 09:05 cyphar