| 1234567891011121314151617181920212223242526272829 | #!/bin/sh# This script installs test dependencies and runs all tests, including end-to-end tests. It# is designed to run inside a test container, and presumes that other test infrastructure like# databases are already running. Therefore, on a developer machine, you should not run this script# directly. Instead, run scripts/run-end-to-end-tests## For more information, see:# https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/set -eif [ -z "$TEST_CONTAINER" ]; then    echo "This script is designed to work inside a test container and is not intended to"    echo "be run manually. If you're trying to run borgmatic's end-to-end tests, execute"    echo "scripts/run-end-to-end-dev-tests instead."    exit 1fiapk add --no-cache python3 py3-pip borgbackup postgresql17-client mariadb-client mongodb-tools \    py3-mongo py3-regex py3-ruamel.yaml py3-ruamel.yaml.clib py3-tox py3-yaml ruff sqlite uv bash \    fishexport SHELL=/bin/bashexport PATH="/root/.local/bin:$PATH"uv tool install tox --with tox-uvexport COVERAGE_FILE=/tmp/.coveragetox --workdir /tmp/.tox -e py39,py313 --sitepackagestox --workdir /tmp/.tox --sitepackages -e end-to-end
 |