Skip to content
Myr

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 file

Take it

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

lines 1–5why, one step back
1#!/usr/bin/env bash
23set -e4set -x5

:sparkles: Docs for Typer CLI (#64)Sebastián Ramírezbefore adoption96731c4

line 6why, one step back
6bash ./scripts/test-files.sh

:sparkles: Add docs for subcommands, examples, tests, bug fixesSebastián Ramírezbefore adoption13819bf

line 7why, one step back
7# 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 back
8pytest --cov=typer --cov=tests --cov=docs_src --cov-report=term-missing --cov-report=xml -o console_output_style=progress --forked --numprocesses=auto ${@}