fedimovies/.woodpecker.yml
Rafael Caricio 2b44c8e20d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Run test on Rust file changes
2023-04-27 22:41:40 +02:00

29 lines
510 B
YAML

matrix:
RUST: [stable]
pipeline:
check-style:
image: rust
when:
branch: [ master ]
path:
include:
- "**/*.rs"
commands:
- rustup default $RUST
- cargo clippy --all-targets --all-features -- -D warnings
run-tests:
image: rust
when:
branch: [ master ]
path:
include:
- "**/*.rs"
environment:
- CARGO_TERM_COLOR=always
commands:
- rustup default $RUST
- cargo test --all -- --nocapture