Skip to content

Introduce eco-tests#2526

Merged
sam0x17 merged 5 commits intodevnet-readyfrom
eco-tests
Mar 25, 2026
Merged

Introduce eco-tests#2526
sam0x17 merged 5 commits intodevnet-readyfrom
eco-tests

Conversation

@shamil-gadelshin
Copy link
Copy Markdown
Collaborator

@shamil-gadelshin shamil-gadelshin commented Mar 20, 2026

Summary

The eco-tests crate is a standalone test suite that lives outside the main workspace. It provides a dedicated runtime mock and helper functions — similar to what we use in our pallet unit tests — for testing the main repo's pallets in isolation.

Changes

  • Introduce eco-tests crate with a runtime mock (mock.rs), test helpers (helpers.rs), and initial staking tests as an example (tests.rs)
  • Exclude eco-tests from the workspace — moved out of members and into exclude with fully resolved dependencies (no workspace = true), so it builds independently without affecting workspace compilation
  • Add eco-tests.yml CI workflow — runs cargo test from within the eco-tests/ directory on every PR.

@shamil-gadelshin shamil-gadelshin added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Mar 25, 2026
@shamil-gadelshin shamil-gadelshin marked this pull request as ready for review March 25, 2026 12:25
@sam0x17 sam0x17 merged commit 3708f42 into devnet-ready Mar 25, 2026
198 of 199 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants