diff --git a/ci-scripts/tests.sh b/ci-scripts/tests.sh index 41d10b59..64ed0f9a 100755 --- a/ci-scripts/tests.sh +++ b/ci-scripts/tests.sh @@ -36,3 +36,13 @@ min_tls=1.3 cargo-binstall # Test that the installed binaries can be run cargo binstall --help >/dev/null + +# Test --version +"./$1" binstall --force --log-level debug --no-confirm --version 0.11.1 cargo-binstall +# Test that the installed binaries can be run +cargo binstall --help >/dev/null + +# Test "$crate_name@$version" +"./$1" binstall --force --log-level debug --no-confirm cargo-binstall@0.11.1 +# Test that the installed binaries can be run +cargo binstall --help >/dev/null