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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Format - name: Format
run: cargo fmt -- --check run: cargo fmt --all -- --check
- name: Lint - 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 - name: Run tests
run: make check-all run: make check-all

View file

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