use cargo nextest for pre push runs
This commit is contained in:
parent
930e33ba93
commit
3751740489
1 changed files with 6 additions and 8 deletions
|
|
@ -1,14 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if ! cargo clippy --all-targets -- -D warnings
|
if ! cargo clippy --all-targets -- -D warnings; then
|
||||||
then
|
|
||||||
echo "There are some clippy issues."
|
echo "There are some clippy issues."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! cargo test
|
if ! cargo nextest run; then
|
||||||
then
|
|
||||||
echo "There are some test issues."
|
echo "There are some test issues."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue