fedimovies/.woodpecker.yml
Rafael Caricio 4df257d024
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Noticed the branch was wrong.. 🤦
2023-04-27 23:24:08 +02:00

36 lines
806 B
YAML

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