Skip to content

[FEATURE] Add cargo test CI snippet#32

Merged
prog-time merged 3 commits into
mainfrom
issues-17
Apr 22, 2026
Merged

[FEATURE] Add cargo test CI snippet#32
prog-time merged 3 commits into
mainfrom
issues-17

Conversation

@prog-time
Copy link
Copy Markdown
Owner

Summary

Adds a cargo test CI snippet to the tests category — the Rust counterpart to clippy (PR #25), closing the Rust test gap and mirroring the structure of go test, pytest, and rspec. Uses dtolnay/rust-toolchain@stable + actions/cache@v4 for ~/.cargo/registry and target/ keyed on Cargo.lock. Runs cargo test --all-features --verbose.

Changes

  • issues-17|add cargo test CI snippetscripts/shell/tests/cargo_test.sh, scripts/CI/tests/cargo_test.yml, CI/tests/cargo_test.yml
  • issues-17|add BATS tests for cargo test — 3 tests (missing Cargo.toml, passing, failing)
  • issues-17|document cargo test in README — snippets table, Available snippets / Tests section, project structure tree

Test plan

  • bats tests/tests/cargo_test.bats — 3/3 pass
  • yamllint clean on both new YAML files
  • CI green on this PR

Closes #17

@prog-time prog-time merged commit 9d81b97 into main Apr 22, 2026
5 checks passed
@prog-time prog-time deleted the issues-17 branch April 22, 2026 19:48
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.

[FEATURE] Add cargo test CI snippet

1 participant