mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-08-06 00:03:02 +02:00
Run end-to-end tests on developer machines with Docker Compose for approximate parity with continuous integration tests.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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 --abort-on-container-exit
|
||||
Reference in New Issue
Block a user