Separate integration tests into standalone workflow with build tag#166
Separate integration tests into standalone workflow with build tag#166
Conversation
- Add //go:build testintegration to all test files in internal/testintegration/ - Create .github/workflows/integration-test.yml as standalone workflow - Matrix: linux + windows, stable Go only (2 jobs) - No -race, no fuzz, no test report - Coverage upload via artifacts Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
|
@copilot now with the tags the linter complains there is no go code in this module. Please add an empty doc.go with just a package level comment. |
The build tag on all test files made the linter complain about no Go code in the module. Adding a doc.go with just a package declaration fixes this. Co-authored-by: fredbi <14262513+fredbi@users.noreply.github.com>
Added |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #166 +/- ##
==========================================
- Coverage 91.54% 91.49% -0.05%
==========================================
Files 17 17
Lines 2034 2034
==========================================
- Hits 1862 1861 -1
- Misses 114 115 +1
Partials 58 58 ☔ View full report in Codecov by Sentry. |
//go:build testintegrationbuild tag to all test files ininternal/testintegration/(3 files:doc_test.go,helpers_spec_test.go,spec_test.go).github/workflows/integration-test.ymlwith:-raceflagtestintegrationdoc.gotointernal/testintegration/to satisfy linter (no Go source without build tag)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.