diff --git a/ci/run-cargo-test.sh b/ci/run-cargo-test.sh index bc151bb..d5d7d00 100755 --- a/ci/run-cargo-test.sh +++ b/ci/run-cargo-test.sh @@ -3,10 +3,8 @@ ERROR=0 while IFS= read -r -d '' f; do - dir="$(dirname "${f}")" - - echo "run 'cargo test' in ${dir}" - cd "${dir}" && cargo test + echo "run 'cargo test' with ${f}" + cargo test --manifest-path="${f}" if [[ $? -ne 0 ]]; then ERROR=1