bakare/scripts/test.sh
Cyryl Płotnicki de6705c0fc stronger checks
2020-11-08 18:04:48 +00:00

12 lines
237 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
cargo test -- --ignored