borgmatic/scripts/run-full-dev-tests
Dan Helfman c6cb21a748
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Switch to read-only container filesystem to avoid *.pyc getting created with busted permissions.
2019-12-11 21:24:37 -08:00

15 lines
496 B
Bash
Executable File

#!/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
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
--abort-on-container-exit