Use github.com/afunix/gocov instead of archived repo - #20
Open
b-dean wants to merge 1 commit into
Open
Conversation
Author
|
For anyone needing a workaround until this is merged, you can do something like: go run github.com/afunix/gocov/gocov@latest convert example.coverprofile | \
go run github.com/b-dean/gocov-xml@v1.2.1-bdd.0 > example.xmlI plan on deleting my fork once this is merged though. |
tomponline
added a commit
to canonical/lxd
that referenced
this pull request
Nov 18, 2025
…ng to go1.25 compatible deps (#16981) This pull request reverts the recent switch from `gocov/gocov-xml` to `gocover-cobertura` for converting coverage to Cobertura XML format. `gocover-cobertura` requires multiple manual workarounds and has ultimately left us in a worse state with inconsistent coverage. Additionally, this pull request updates the dependencies to versions that support go1.25. For `gocov-xml`, we're using a fork that supports go1.25 as a temporary workaround until AlekSi/gocov-xml#20 is merged. My aim is to get back to consistent code coverage reporting, analyze results while considering the addition of snap tests to see where we're at, and we can go from there.
|
Any updates on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #19