Add CI pipeline and basic test infrastructure #13
Notifications
Total Time Spent: 15 minutes
connor
15 minutes
No due date set.
Dependencies
No dependencies set.
Reference: Shanty/Main#13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Set up a CI pipeline (for Gitea Actions) and establish testing patterns that all crates should follow.
This issue covers:
CI pipeline — create a CI configuration that runs on every push/PR:
cargo fmt --check— enforce consistent formattingcargo clippy --workspace -- -D warnings— catch common mistakescargo build --workspace— verify everything compilescargo test --workspace— run all testscargo audit— check for known vulnerabilities in dependenciesTest infrastructure:
tests/directory should have at least one integration testassert_cmdfor testing CLI binariessoxto create short silent audio files with metadata)Development tooling:
Makefileorjustfilewith common commands:build,test,lint,fmt,runrust-toolchain.tomlto pin the Rust versionAcceptance Criteria
rust-toolchain.tomlpins the Rust edition/versionMakefileorjustfileexists with common development commandsDependencies