report code coverage for tests

This commit is contained in:
ducklet 2023-03-19 00:06:14 +01:00
parent 1dd7bab4aa
commit f1bafbb4a2
3 changed files with 86 additions and 2 deletions

View file

@ -12,4 +12,4 @@ trap 'rm "$dbfile"' EXIT TERM INT QUIT
export SQLALCHEMY_WARN_20=1 # XXX remove when we switched to SQLAlchemy 2.0
UNWIND_STORAGE="$dbfile" \
python -m pytest "$@"
python -m pytest --cov "$@"