ci: add test job to package-ci workflow#5
Merged
Neo23x0 merged 1 commit intoNextron-Labs:masterfrom Mar 14, 2026
Merged
Conversation
e53ad07 to
d80efda
Compare
The CI workflow was only building and packaging — never running tests. Added a 'test' job that: - Runs on ubuntu-22.04, ubuntu-24.04 (amd64) and ubuntu-22.04-arm, ubuntu-24.04-arm (arm64) - Installs BPF build dependencies and generates eBPF bindings - Runs 'go test -race -count=1 ./...' across the full codebase - Gates the package job: builds only start after tests pass on all four runners Testing on both Ubuntu versions catches kernel-dependent eBPF differences (5.15 vs 6.8+ kernels, different BTF data).
2d1e0bf to
eb5e59a
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.
The CI workflow was only building and packaging — never running tests. All 2,200+ lines of tests we just added were not being executed in CI.
Changes
testjob topackage-ci.ymlthat runsgo test -race -count=1 ./...agentandebpfpackagespackagejob now depends ontestvianeeds: test— builds only start after all tests pass-race) to catch concurrency issuesWhy
Writing tests without running them in CI is like installing a smoke detector without batteries.