aboutsummaryrefslogtreecommitdiff
path: root/dockernose.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dockernose.sh')
-rwxr-xr-xdockernose.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dockernose.sh b/dockernose.sh
new file mode 100755
index 00000000..c9227118
--- /dev/null
+++ b/dockernose.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -ex
+if [ -z "${PYVER}" ]; then
+ PYVER=py37
+fi
+
+# remember to use "-s" if you inject pdb.set_trace() as this disables nosetests capture of streams
+
+tox -e ${PYVER} --notest
+PYTHONPATH=/src/.tox/${PYVER}/lib/python*/site-packages /src/.tox/${PYVER}/bin/nosetests --pdb $*