ci: fix broken Tests workflow; consolidate build.yaml into test.yaml #18
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_code!18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/fix-test-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
test.yamlandbuild.yamlbothsource scripts/build_lib.shthen runmake …, but that script and the Makefile were deleted in7a3a130("remove Makefile/.sh scripts") during the nushell migration. Every run since has failed instantly:So both Tests and Build and Test have been red on
main/development(e.g. runs #356, #358 on5101f11).lab-release.yamlis unaffected and still green.Fix
make/script indirection with direct cargo, mapping the old Makefile targets:make check→cargo check --workspacemake test→cargo test --workspace --exclude hero_code_integration_testrust-toolchain.tomlpins 1.96; the builder image may ship older).build.yaml: itscheck+ release build duplicatelab-release.yaml(which already gates oncargo checkand builds the workspace); its lint/test now live intest.yaml. One push+PR quality gate.Scope note
clippyruns non-blocking. The codebase is not currently clippy-clean (16+-D warningslints inhero_code_server) and was neverfmt-gated (~5k lines of drift). Enforcing-D warnings/fmt --checkis a separate cleanup, deliberately out of scope for unbreaking CI.Verified locally:
cargo check --workspace✅ andcargo test --workspace --exclude hero_code_integration_test✅ (50 tests pass).