borgmatic/scripts/run-end-to-end-dev-tests
Dan Helfman 59fe01b56d
All checks were successful
continuous-integration/drone/push Build is passing
Update script comment.
2023-03-28 11:09:25 -07:00

15 lines
495 B
Bash
Executable File

#!/bin/sh
# This script is for running 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
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
--renew-anon-volumes --abort-on-container-exit