Commit 84c90afe authored by Spiros Koulouzis's avatar Spiros Koulouzis

fix tests

parent 46a6ab4b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
cd ../ cd ../
python3 -m venv venv python3 -m venv venv
cd sure_tosca-flask-server && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/python3 -m unittest discover cd sure_tosca-flask-server && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "------- sure_tosca-flask-server tests successful------" echo "------- sure_tosca-flask-server tests successful------"
...@@ -39,7 +39,7 @@ else ...@@ -39,7 +39,7 @@ else
exit 1 exit 1
fi fi
cd planner && python3 -m venv venv && venv/bin/python3 -m unittest discover cd planner && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "------- Planner tests successful------" echo "------- Planner tests successful------"
...@@ -50,7 +50,7 @@ fi ...@@ -50,7 +50,7 @@ fi
cd ../ cd ../
cd sure_tosca-client_python_stubs && python3 -m venv venv && venv/bin/python3 -m unittest discover cd sure_tosca-client_python_stubs && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "------- sure_tosca-client_python_stubs tests successful------" echo "------- sure_tosca-client_python_stubs tests successful------"
...@@ -60,7 +60,7 @@ else ...@@ -60,7 +60,7 @@ else
fi fi
cd ../ cd ../
cd semaphore-python-client-generated && python3 -m venv venv && venv/bin/python3 -m unittest discover cd semaphore-python-client-generated && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "------- semaphore-python-client-generated tests successful ------" echo "------- semaphore-python-client-generated tests successful ------"
...@@ -70,7 +70,7 @@ else ...@@ -70,7 +70,7 @@ else
fi fi
cd ../ cd ../
cd deployer && python3 -m venv venv && venv/bin/python3 -m unittest discover cd deployer && python3 -m venv venv && venv/bin/pip3 install -r test-requirements.txt && venv/bin/pip3 install -r requirements.txt && venv/bin/python3 -m unittest discover
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "------- deployer tests successful ------" echo "------- deployer tests successful ------"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment