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 11, 2024
1 parent 91a8d13 commit 6ac4e2c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ export RAY_TLS_SERVER_CERT="/tmp/rayfed/test-certs/server.crt"
export RAY_TLS_SERVER_KEY="/tmp/rayfed/test-certs/server.key"
export RAY_TLS_CA_CERT="/tmp/rayfed/test-certs/server.crt"

cd fed/tests
python3 -m pytest -v -s test_*
python3 -m pytest -v -s serializations_tests/test_*
python3 -m pytest -v -s multi-jobs/test_*
python3 -m pytest -v -s without_ray_tests/test_*
python3 -m pytest -v -s client_mode_tests/test_*
cd -
directory="fed/tests"
command="pytest -vs"

find "$directory" -type f -exec bash -c "eval '$command'" \;

echo "All tests finished."

0 comments on commit 6ac4e2c

Please sign in to comment.