-
Notifications
You must be signed in to change notification settings - Fork 43
feat: improve acceptance tests #3030
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
Conversation
783f43f to
6193854
Compare
|
/ok-to-test |
PR Compliance Guide 🔍(Compliance updated until commit 783e7d2)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 6193854
|
||||||||||||||||||||||||||||||||||||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
6193854 to
e442826
Compare
|
/ok-to-test |
1 similar comment
|
/ok-to-test |
|
The Conforma failure is unrelated to this change. I'll aim to merge something that will fix it shortly. |
|
Okay, a rebase on upstream/main now should eliminate that CI failure. Specifically #3036 is the relevant change. |
* use native Go instrumentation * report test results per flag (one coverage output file per flag
1b30050 to
94b1e83
Compare
|
/ok-to-test |
* remove deprecated acceptance/coverage/coverage.go and related env vars
|
/ok-to-test |
dheerajodha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
User description
https://issues.redhat.com/browse/KFLUXDP-596
see the coverage report in PR against my fork
PR Type
Enhancement, Tests
Description
Implement native Go instrumentation for acceptance tests
Replace legacy coverage merging with Go's native
covdatatoolAdd per-flag coverage reporting to codecov uploads
Enable conditional instrumentation via
E2E_INSTRUMENTATIONflagDiagram Walkthrough
File Walkthrough
cli.go
Add GOCOVERDIR environment variableacceptance/cli/cli.go
GOCOVERDIRenvironment variable to pass coverage directory toacceptance tests
Makefile
Replace legacy coverage with native Go instrumentationMakefile
E2E_INSTRUMENTATION_FLAGSvariable that conditionally adds-cover-covermode atomicflagsE2E_INSTRUMENTATION=truegocovmergetool with nativego tool covdata textfmtforcoverage conversion
GOCOVERDIRenvironment variable pointing to coverage datadirectory
-coverprofileflag from acceptance test executionchecks-codecov.yaml
Configure codecov uploads with per-flag reporting.github/workflows/checks-codecov.yaml
disable_search: trueto all three codecov upload steps (unit,generative, integration)
CODECOV_TOKENenvironment variable to acceptance test upload stepE2E_INSTRUMENTATION=trueflag for acceptance test execution