surok/build/runtests.sh

15 lines
261 B
Bash
Raw Permalink Normal View History

2016-11-12 13:22:23 +03:00
#!/bin/bash
set -e
. functions.sh
function run_tests() {
docker run --rm -ti -v $(pwd)/tests.py:/opt/surok/tests.py \
2016-11-12 13:22:23 +03:00
-v $(pwd)/tests_entrypoint.sh:/tests_entrypoint.sh \
--entrypoint /tests_entrypoint.sh \
surok_base:latest
}
run_tests