backend_and_cms/backend/scripts/test.sh

9 lines
141 B
Bash
Raw Permalink Normal View History

2024-09-17 12:11:39 +08:00
#!/usr/bin/env bash
set -e
set -x
coverage run --source=app -m pytest
coverage report --show-missing
coverage html --title "${@-coverage}"