ci: fix flags

This commit is contained in:
Antoine Martin 2021-11-25 16:53:58 +01:00
parent d5c85d4a17
commit 0272809c82
2 changed files with 5 additions and 7 deletions

View file

@ -17,8 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Format
run: cargo fmt -- --check
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all --all-targets --all-features -- -D warnings
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Run tests
run: make check-all

View file

@ -3,11 +3,9 @@ watch:
cargo watch -x clippy
check:
cargo test --all --release
cargo test --workspace --release
# run these in release mode because the reason they're ignored is usually that
# they take a long time to run
check-all: check
cargo test --all --release -- --ignored
check-all:
cargo test --workspace --release -- --include-ignored
.PHONY: watch check check-all