8 lines
231 B
Bash
8 lines
231 B
Bash
|
#!/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
|