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
123456789101112#!/usr/bin/env bash
set -eset -x
export PYTHONPATH=./docs/src# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps workingpytest --cov=typer --cov=tests --cov=docs/src --cov-report=term-missing -o console_output_style=progress --forked --numprocesses=auto ${@}bash ./scripts/lint.sh# Include tests for filesbash ./scripts/test-files.sh