Skip to content

Commit 58cfaa9

Browse files
JakobMiesnerkpsherva
authored andcommitted
tests: fix: add missing keep_services check
1 parent 94a7d30 commit 58cfaa9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ done
4747
function cleanup() {
4848
eval "$(docker-services-cli down --env)"
4949
}
50-
trap cleanup EXIT
50+
51+
if [[ ${keep_services} -eq 0 ]]; then
52+
trap cleanup EXIT
53+
fi
5154

5255
python -m check_manifest
5356
python -m sphinx.cmd.build -qnNW docs docs/_build/html

0 commit comments

Comments
 (0)