At the moment to test whether the code works properly this job was added to the workflow, but this isn't thorough enough, because it doesn't check every function. In order for this to resolve an individual Rust script has to be created like test.rs.
- name: Run function tests
run: |
cargo run -- list
cargo run -- add test
cargo run -- list
cargo run -- rm 1
cargo run -- list
At the moment to test whether the code works properly this job was added to the workflow, but this isn't thorough enough, because it doesn't check every function. In order for this to resolve an individual Rust script has to be created like
test.rs.