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

Add coverage support for txtar #1243

Closed
moul opened this issue Oct 12, 2023 · 0 comments · Fixed by #1249
Closed

Add coverage support for txtar #1243

moul opened this issue Oct 12, 2023 · 0 comments · Fixed by #1249
Assignees

Comments

@moul
Copy link
Member

moul commented Oct 12, 2023

We can compute coverage for binaries, checkout https://go.dev/testing/coverage/.

To post the coverage results on the CI, you can follow these steps:

  1. Build and run binaries in txtar with the appropriate flags.
  2. Aggregate the coverage files from different runtimes.
  3. Conditionally perform this process only for the latest version of Go.
  4. For the previous version (latest-1), perform traditional testing without coverage.

Related with #1215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🌟 Wanted for Launch
Development

Successfully merging a pull request may close this issue.

3 participants