summaryrefslogtreecommitdiff
path: root/script/test
diff options
context:
space:
mode:
Diffstat (limited to 'script/test')
-rwxr-xr-xscript/test7
1 files changed, 7 insertions, 0 deletions
diff --git a/script/test b/script/test
new file mode 100755
index 0000000..cce14e4
--- /dev/null
+++ b/script/test
@@ -0,0 +1,7 @@
+#!/bin/bash -xe
+
+source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
+
+TEST_ARGS="$@"
+
+$DOCKER_COMPOSE run -T -e MIX_ENV=test $(power_dnsex_env) --rm web bash -c "mix test $TEST_ARGS </dev/null"