ci: Don't restart failed container during test

This commit is contained in:
Geoff Bourne
2020-07-11 14:26:47 -05:00
parent 3c9df03584
commit 90183ae823
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -5,6 +5,9 @@ cd $(dirname $0)
failed=false
args="-f docker-compose.test.yml"
docker-compose $args run sut || failed=true
echo "
Result: failed=$failed"
$failed && docker-compose $args logs mc
docker-compose $args down -v