8 lines
231 B
Bash
Executable File
8 lines
231 B
Bash
Executable File
#!/bin/bash
|
|
# Run all tests
|
|
set -euxo pipefail
|
|
mkdir -p test-results
|
|
LOGLEVEL=DEBUG poetry run pytest "$@"
|
|
# pytest-cov leaves .coverage.$HOST.$PID.$RAND files around while coverage itself doesn't
|
|
poetry run coverage erase || true
|