Attempt to exit test containers on tests exit while also showing test output.
This commit is contained in:
parent
fe62a81151
commit
5f16b64639
2 changed files with 3 additions and 3 deletions
|
@ -9,4 +9,3 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: scripts/run-end-to-end-tests
|
- run: scripts/run-end-to-end-tests
|
||||||
- run: find . -name borgmatic-1.8.9.dev0
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# For more information, see:
|
# For more information, see:
|
||||||
# https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
|
# https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
USER_PODMAN_SOCKET_PATH=/run/user/$UID/podman/podman.sock
|
USER_PODMAN_SOCKET_PATH=/run/user/$UID/podman/podman.sock
|
||||||
|
|
||||||
|
@ -17,5 +17,6 @@ if [ -e "$USER_PODMAN_SOCKET_PATH" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
|
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
|
docker-compose --file tests/end-to-end/docker-compose.yaml wait --down-project tests
|
||||||
|
find . -name borgmatic-1.8.9.dev0
|
||||||
|
|
Loading…
Reference in a new issue