run-full-tests 684 B

123456789101112131415161718
  1. #!/bin/sh
  2. # This script installs test dependencies and runs all tests, including end-to-end tests. It
  3. # is designed to run inside a test container, and presumes that other test infrastructure like
  4. # databases are already running. Therefore, on a developer machine, you should not run this script
  5. # directly. Instead, run scripts/run-full-dev-tests
  6. #
  7. # For more information, see:
  8. # https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
  9. set -e
  10. python -m pip install --upgrade pip==20.0.2
  11. pip install tox==3.14.3
  12. export COVERAGE_FILE=/tmp/.coverage
  13. tox --workdir /tmp/.tox
  14. apk add --no-cache borgbackup postgresql-client mariadb-client
  15. tox --workdir /tmp/.tox -e end-to-end