summaryrefslogtreecommitdiffstats
path: root/scripts/poe-tasks/test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poe-tasks/test')
-rwxr-xr-xscripts/poe-tasks/test8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/poe-tasks/test b/scripts/poe-tasks/test
new file mode 100755
index 00000000..85fd6089
--- /dev/null
+++ b/scripts/poe-tasks/test
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# ensure consistent behaviour
+src_dir="$(dirname "$(realpath "$0")")"
+source $src_dir/utils/_env.sh
+
+# run pytest
+env PYTHONPATH=. pytest --junitxml=unit.junit.xml --cov=python/knot_resolver --show-capture=all tests/manager