ci: fix flags
This commit is contained in:
parent
d5c85d4a17
commit
0272809c82
4
.github/workflows/rust.yaml
vendored
4
.github/workflows/rust.yaml
vendored
|
@ -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
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue