bakare/scripts/test.sh
2021-05-16 21:23:45 +01:00

12 lines
267 B
Bash
Executable file

#!/usr/bin/env bash
set -e
if [[ ! -z $CI ]]; then
export CARGO_HUSKY_DONT_INSTALL_HOOKS=true
fi
cargo fmt -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo check --frozen
cargo test --all-targets
cargo test --all-targets --all-features