Use release build for unit tests and integration tests.

This commit is contained in:
jcamiel 2022-09-07 09:05:45 +02:00
parent cc820c6190
commit 26c779459a
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
set -e
echo "----- integration tests -----"
export PATH="$PWD/target/debug:$PATH"
export PATH="$PWD/target/release:$PATH"
cd integration || exit
./integration.py
./test_curl_commands.sh "$(find ./tests_ok ./tests_failed -maxdepth 1 -type f -name '*.curl' ! -name '*windows*')"

View File

@ -3,4 +3,4 @@ set -e
echo "----- unit tests -----"
PATH="$HOME"/.cargo/bin:$PATH
export PATH
cargo test --features strict --tests
cargo test --release --features strict --tests