tests.sh 177 B

12345678
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. cd "$(dirname "$0")"
  4. if [ -f ".venv/bin/activate" ]; then
  5. # shellcheck disable=SC1091
  6. source .venv/bin/activate
  7. fi
  8. python -m pytest -q