Skip to content

ci: build and test Soroban contracts on every PR#237

Merged
Dgetsylver merged 1 commit into
mainfrom
ci/contract-tests
Jun 13, 2026
Merged

ci: build and test Soroban contracts on every PR#237
Dgetsylver merged 1 commit into
mainfrom
ci/contract-tests

Conversation

@Dgetsylver

Copy link
Copy Markdown
Owner

Why

No workflow builds or tests the contracts: parity.yml only builds rate_calc + frontend tests, and blend_leverage is not a cargo workspace member so cargo test --workspace never touches it. This let dev land non-compiling contract code (#157/#217) and let PRs like #233 (deposit traps at runtime) and #235 (proptests don't compile) through with zero contract verification.

What

Adds .github/workflows/contracts.yml: cargo test + wasm32v1-none release build for blend_leverage on any PR touching contracts/**. Clippy -D warnings is left as a TODO until the crate's existing digit-grouping lint debt is paid down (would otherwise red every PR immediately).

Verification

On current main: cargo test 43/43 pass, wasm release build passes.

🤖 Generated with Claude Code

No workflow currently builds or tests the contracts: parity.yml only
builds the rate_calc binary + frontend tests, and blend_leverage is not
a cargo workspace member so 'cargo test --workspace' never touches it.
This let dev land non-compiling contract code (#157/#217) and let PRs
like #233 (deposit traps at runtime) and #235 (proptests don't compile)
through with zero contract verification.

Adds contracts.yml: cargo test + wasm32v1-none release build for
blend_leverage on any PR touching contracts/**. Clippy -D warnings is
left as a TODO until the crate's existing digit-grouping lint debt is
paid down (would otherwise red every PR immediately).
@Dgetsylver Dgetsylver merged commit 90a58a3 into main Jun 13, 2026
5 checks passed
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