use cargo nextest for pre push runs

This commit is contained in:
Felipe 2025-02-24 23:49:04 -03:00
parent 930e33ba93
commit 3751740489
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -1,16 +1,14 @@
#!/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
exit 0 exit 0