* disable coverage This reduces runtime of the server test suite from ~30m to ~10m, and as far as I can see: we discarded the coverage output anyway. * allow morph 60s to migrate when running tests
9 строки
200 B
Bash
Исполняемый файл
9 строки
200 B
Bash
Исполняемый файл
#!/usr/bin/env bash
|
|
set -e
|
|
[[ $1 =~ (github.com.*)/_test ]] && \
|
|
echo Testing ${BASH_REMATCH[1]}
|
|
if [[ $1 == *"/enterprise/"* ]]; then
|
|
cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
|
|
fi
|
|
"$@"
|