Skip to content

Commit 1f30f8e

Browse files
committed
ci: update git hooks scripts
To also run doctests.
1 parent 3969c67 commit 1f30f8e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

contrib/dev-tools/git/hooks/pre-commit.sh

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ cargo +nightly fmt --check &&
66
cargo +nightly machete &&
77
cargo +stable build &&
88
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 &&
9+
cargo +stable test --doc --workspace &&
910
cargo +stable test --tests --benches --examples --workspace --all-targets --all-features

contrib/dev-tools/git/hooks/pre-push.sh

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ cargo +nightly fmt --check &&
66
cargo +nightly machete &&
77
cargo +stable build &&
88
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 &&
9+
cargo +stable test --doc --workspace &&
910
cargo +stable test --tests --benches --examples --workspace --all-targets --all-features &&
1011
cargo +stable run --bin e2e_tests_runner -- --config-toml-path "./share/default/config/tracker.e2e.container.sqlite3.toml"

0 commit comments

Comments
 (0)