Skip to content
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

switch to go build -cover for integration tests #477

Open
cyphar opened this issue May 18, 2023 · 0 comments
Open

switch to go build -cover for integration tests #477

cyphar opened this issue May 18, 2023 · 0 comments

Comments

@cyphar
Copy link
Member

cyphar commented May 18, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant