test.sh
This file
Path
scripts/test.sh
8 lines · 330 bytes · Shell
Last changed by
✨ Add support for Click 8 while keeping compatibility with Click 7 (#317)Sebastián RamÃrezbefore adoptionb972981
History of this fileTake it
:wrench: Add scriptsSebastián RamÃrezbefore adoptionfad33cb
lines 1–5why, one step back1#!/usr/bin/env bash23set -e4set -x5:sparkles: Docs for Typer CLI (#64)Sebastián RamÃrezbefore adoption96731c4
line 6why, one step back6bash ./scripts/test-files.sh:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián RamÃrezbefore adoption13819bf
line 7why, one step back7# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working✅ Report coverage in XML (#146)Sebastián RamÃrezbefore adoption6da7364
line 8why, one step back8pytest --cov=typer --cov=tests --cov=docs_src --cov-report=term-missing --cov-report=xml -o console_output_style=progress --forked --numprocesses=auto ${@}