test.sh
This file
Path
scripts/test.sh
11 lines · 391 bytes · Shell
Last changed by
:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf
History of this fileTake it
:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
lines 1–6why, one step back1#!/usr/bin/env bash23set -e4set -x56export PYTHONPATH=./docs/src:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf
lines 7–8why, one step back7# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working8pytest --cov=typer --cov=tests --cov=docs/src --cov-report=term-missing -o console_output_style=progress --forked --numprocesses=auto ${@}:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb
line 9why, one step back9bash ./scripts/lint.sh:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf
lines 10–11why, one step back10# Include tests for files11bash ./scripts/test-files.sh