steps:
- name: Compile
image: rust
environment:
CARGO_TERM_COLOR: always
commands: cargo check
- name: Execute unit tests
image: rust
environment:
CARGO_TERM_COLOR: always
commands:
- cargo test --bins --lib
- name: Execute doc tests
image: rust
environment:
CARGO_TERM_COLOR: always
commands:
- cargo test --doc