refactor: add Go test coverage workflow#3
Open
knecasov wants to merge 4 commits into
Open
Conversation
knecasov
force-pushed
the
add-coverage-workflow
branch
2 times, most recently
from
February 28, 2026 16:32
5915037 to
af8755b
Compare
|
|
knecasov
force-pushed
the
add-coverage-workflow
branch
2 times, most recently
from
March 2, 2026 11:42
5a12dce to
bc54e53
Compare
Add comprehensive license tracking for vendored Go dependencies and update RPM spec with complete license list (0BSD, Apache-2.0, BSD-3-Clause, MIT, Unlicense). Add Makefile target for automated RPM licensing updates. Upgrade oapi-codegen/runtime from v1.1.2 to v1.2.0, regenerating OpenAPI handlers with enhanced enum validation methods. Signed-off-by: Miguel Martín <mmartinv@redhat.com>
ci: add Go test coverage workflow with baseline comparison - add GitHub Actions workflow combining unit and integration test coverage with HTML report artifact - add .testcoverage.yml with initial zero thresholds and generated file exclusion - update utils.sh to support coverage-instrumented server build when GOCOVERDIR is set - add coverage output files to .gitignore - enable coverage comparison against main branch baseline Signed-off-by: Klara Necasova <knecasov@redhat.com>
- find PR number via GitHub API with event context fallback - post coverage report as PR comment - defer workflow failure until after PR comment and artifacts are posted Signed-off-by: Klara Necasova <knecasov@redhat.com>
knecasov
force-pushed
the
add-coverage-workflow
branch
5 times, most recently
from
March 5, 2026 11:08
7e80176 to
656c596
Compare
- add test-coverage target combining unit tests, integration tests, coverage merge, and HTML report generation - add GOFLAGS, COVERDIR, and GOCOVERDIR variables with configurable defaults - simplify coverage.yml workflow to call `make test-coverage` - remove GOCOVERDIR prefix from run_go_fdo_server() - simplify install_server() to always use `make build` - consolidate all coverage output under test/coverage/ Signed-off-by: Klara Necasova <knecasov@redhat.com>
knecasov
force-pushed
the
add-coverage-workflow
branch
from
March 5, 2026 11:39
656c596 to
70e0e8e
Compare
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.
What
Refactor coverage workflow to use a single
make test-coverageMakefile target for unit and integration test coverage measurement.Why
This PR is related to the issue fido-device-onboard#192.