Attempt to exit test containers on tests exit while also showing test output.

This commit is contained in:
Dan Helfman 2024-03-06 14:39:23 -08:00
parent fe62a81151
commit 5f16b64639
2 changed files with 3 additions and 3 deletions

View file

@ -9,4 +9,3 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: scripts/run-end-to-end-tests
- run: find . -name borgmatic-1.8.9.dev0

View file

@ -8,7 +8,7 @@
# For more information, see:
# https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
set -e
set -ex
USER_PODMAN_SOCKET_PATH=/run/user/$UID/podman/podman.sock
@ -17,5 +17,6 @@ if [ -e "$USER_PODMAN_SOCKET_PATH" ]; then
fi
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
--renew-anon-volumes --detach
--renew-anon-volumes &
docker-compose --file tests/end-to-end/docker-compose.yaml wait --down-project tests
find . -name borgmatic-1.8.9.dev0