typer/scripts/test.sh
Sebastián Ramírez 6da736487d
Report coverage in XML (#146)
*  Report XML Coverate to support GitHub Actions

* 🙈 Add coverage report to .gitignore

*  Add custom testing .zshrc logic for coverage
2020-07-19 14:37:50 +02:00

9 lines
353 B
Bash
Executable file

#!/usr/bin/env bash
set -e
set -x
bash ./scripts/test-files.sh
bash ./scripts/lint.sh
# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working
pytest --cov=typer --cov=tests --cov=docs_src --cov-report=term-missing --cov-report=xml -o console_output_style=progress --forked --numprocesses=auto ${@}