2019-12-12 01:43:01 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This script is for running all tests, including end-to-end tests, on a developer machine. It sets
|
|
|
|
# up database containers to run tests against, runs the tests, and then tears down the containers.
|
|
|
|
#
|
|
|
|
# Run this script from the root directory of the borgmatic source.
|
|
|
|
#
|
|
|
|
# For more information, see:
|
|
|
|
# https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2019-12-12 06:24:37 +01:00
|
|
|
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
|
2020-04-21 18:39:20 +02:00
|
|
|
--renew-anon-volumes --abort-on-container-exit
|