test.sh
This file
Path
scripts/test.sh
10 lines · 365 bytes · Shell
Last changed by
:sparkles: Docs for Typer CLI (#64)Sebastián Ramírezbefore adoption96731c4
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
lines 6–7why, one step back6bash ./scripts/test-files.sh7bash ./scripts/lint.sh:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 8why, one step back8export PYTHONPATH=./docs/src:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf
lines 9–10why, one step back9# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working10pytest --cov=typer --cov=tests --cov=docs/src --cov-report=term-missing -o console_output_style=progress --forked --numprocesses=auto ${@}