2016-11-12 13:22:23 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
. functions.sh
|
|
|
|
|
|
|
|
function run_tests() {
|
2017-02-07 01:39:30 +03:00
|
|
|
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
|