surok/build/runtests.sh

15 lines
256 B
Bash
Raw Normal View History

2016-11-12 13:22:23 +03:00
#!/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