Skip to content

[Smart Contracts] Run Soroban contract tests as a required CI quality gateΒ #886

Description

@ayomideadeniran

πŸš€ Feature Overview

Extend contract CI beyond formatting, linting, and compilation so behavioral regressions are caught before merge.

πŸ› οΈ Implementation Requirements

  • Add a dedicated contract test step to the primary CI workflow.
  • Run the workspace test suite with the required Soroban or Rust test features.
  • Configure deterministic environment settings and clear failure output.
  • Cache dependencies without allowing cache failures to mask test failures.
  • Document the local command contributors should run before opening a pull request.

πŸ”§ Technical Specifications

Rust, Cargo, Soroban SDK, GitHub Actions.

βœ… Acceptance Criteria

  • Contract test failures fail the pull-request workflow.
  • The command runs successfully on a clean GitHub-hosted runner.
  • Existing contract build, formatting, and Clippy checks remain intact.
  • CI logs identify the failing package and test.
  • Contribution documentation contains the matching local verification command.

πŸŽ“ Difficulty Level

Intermediate β€” requires Rust and GitHub Actions familiarity.

⏱️ Timeline

ETA: 2 days

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions