Skip to content

ci: run the debug and release checks in a single job - #18

Merged
dsherret merged 1 commit into
mainfrom
consolidate-ci
Oct 21, 2026
Merged

dsherret merged 1 commit into
mainfrom
consolidate-ci

Conversation

@dsherret

Copy link
Copy Markdown
Member

CI ran two jobs on every push: test_debug (cargo build, cargo test) and test_release (the wasm build, cargo test --release and the npm test). They are now one job that runs cargo test in debug, so debug_assert! and overflow checks still run, then the wasm release build and the npm test against it. Tags release from the same job.

cargo test --release is dropped. The release profile turns off debug assertions and overflow checks, so it ran the same tests with fewer checks while costing a native release build, and the shipped wasm is still exercised by the npm test. This halves the runners used per push.

@dsherret
dsherret merged commit eb0c13f into main Oct 21, 2026
1 check passed
@dsherret
dsherret deleted the consolidate-ci branch October 21, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant