aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4')
-rw-r--r--moonv4/templates/python_unit_test/run_tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/moonv4/templates/python_unit_test/run_tests.sh b/moonv4/templates/python_unit_test/run_tests.sh
index 68b75efa..6c586f87 100644
--- a/moonv4/templates/python_unit_test/run_tests.sh
+++ b/moonv4/templates/python_unit_test/run_tests.sh
@@ -1,7 +1,13 @@
#!/usr/bin/env bash
cd /data
+pip3 install -r tests/unit_python/requirements.txt --upgrade
pip3 install .
+if [ -f /data/tests/unit_python/run_tests.sh ];
+then
+ bash /data/tests/unit_python/run_tests.sh;
+fi
+
cd /data/tests/unit_python
pytest .