install nextest
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ ! $(command -v cargo-nextest 2>&1 > /dev/null ) ]; then
|
||||
if ! command -v cargo-nextest > /dev/null 2>&1; then
|
||||
echo "Command not found cargo-nextest"
|
||||
echo "Try installing with cargo install cargo-nextest"
|
||||
exit 1
|
||||
@ -17,4 +17,4 @@ curl -s -X POST localhost:7001/admin/shutdown 2>&1 > /dev/null
|
||||
cargo run --features shutdown -- --port 7001 2>&1 > logs/nuchat.log &
|
||||
|
||||
# run tests
|
||||
cargo nextest run 2>&1 | tee logs/test-output.log
|
||||
cargo nextest run --color=always 2>&1 | tee logs/test-output.log
|
||||
|
||||
Reference in New Issue
Block a user