surok/build/runtests.sh
2016-11-12 13:22:23 +03:00

15 lines
256 B
Bash
Executable File

#!/bin/bash
set -e
. functions.sh
function run_tests() {
docker run -ti -v $(pwd)/tests.py:/opt/surok/tests.py \
-v $(pwd)/tests_entrypoint.sh:/tests_entrypoint.sh \
--entrypoint /tests_entrypoint.sh \
surok_base:latest
}
run_tests