Skip to content

Commit

Permalink
Fix test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaihui committed Jan 12, 2024
1 parent 2f7401a commit cea87df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export RAY_TLS_SERVER_KEY="/tmp/rayfed/test-certs/server.key"
export RAY_TLS_CA_CERT="/tmp/rayfed/test-certs/server.crt"

directory="fed/tests"
command="pytest -vs"

find "$directory" -type f -mindepth 1 -name "test_*" -exec bash -c "eval '$command'" \;
find "$directory" -type f -name "test_*.py" -exec pytest -vs {} \;

echo "All tests finished."

0 comments on commit cea87df

Please sign in to comment.