forked from torrust/torrust-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpre-push.sh
More file actions
executable file
·11 lines (10 loc) · 797 Bytes
/
pre-push.sh
File metadata and controls
executable file
·11 lines (10 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
cargo +nightly fmt --check &&
cargo +nightly check --tests --benches --examples --workspace --all-targets --all-features &&
cargo +nightly doc --no-deps --bins --examples --workspace --all-features &&
cargo +nightly machete &&
cargo +stable build &&
CARGO_INCREMENTAL=0 cargo +stable clippy --no-deps --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic &&
cargo +stable test --doc --workspace &&
cargo +stable test --tests --benches --examples --workspace --all-targets --all-features &&
cargo +stable run --bin e2e_tests_runner -- --config-toml-path "./share/default/config/tracker.e2e.container.sqlite3.toml"