From 837417273d1856a58aa2ef725bbf99b5d55bec87 Mon Sep 17 00:00:00 2001 From: Mauro Mugnaini Date: Tue, 14 Mar 2023 13:24:09 +0100 Subject: [PATCH] Added `test.sh` to perform tests, including requirmentes installation --- test.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/test.sh b/test.sh index 1af3e57..3aa30b2 100755 --- a/test.sh +++ b/test.sh @@ -1,14 +1,3 @@ #!/bin/bash - -export BASE="http://conductorserver:8080" - -echo 'Waiting for Conductor ...' - -while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' $BASE/health)" != 200 ]]; do - echo 'still waiting ...' - sleep 5 -done - -echo 'Starting default workers...' - -python3 PyExec.py Http Shell Eval Mail +pip install -r tests/requirements-test.txt +python -m pytest \ No newline at end of file