surok/build/runtests.sh
2017-02-07 01:39:30 +03:00

15 lines
261 B
Bash
Executable File

#!/bin/bash
set -e
. functions.sh
function run_tests() {
docker run --rm -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