aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/templates/python_unit_test/run_tests.sh
diff options
context:
space:
mode:
authorRHE <rebirthmonkey@gmail.com>2017-12-01 16:42:57 +0100
committerRHE <rebirthmonkey@gmail.com>2017-12-01 16:42:57 +0100
commitc47f1f819cd81efa3c7f9bc64cda30d337730210 (patch)
treea6cd65fc4c0394bc0b49ac9003d83e31339b8908 /moonv4/templates/python_unit_test/run_tests.sh
parentfe8cf8dcabfcd223e8661f3af8ac02f4e6b1e708 (diff)
create moon python unit test docker image
Change-Id: I91c7103ca046a67c3cefadbd9ca6eca52cfbc0cf Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/templates/python_unit_test/run_tests.sh')
-rw-r--r--moonv4/templates/python_unit_test/run_tests.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/moonv4/templates/python_unit_test/run_tests.sh b/moonv4/templates/python_unit_test/run_tests.sh
new file mode 100644
index 00000000..68b75efa
--- /dev/null
+++ b/moonv4/templates/python_unit_test/run_tests.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+cd /data
+pip3 install .
+
+cd /data/tests/unit_python
+pytest .