Skip to content
Myr

test.sh

This file

Path

scripts/test.sh

12 lines · 464 bytes · Shell

Last changed by

👷 Move from pytest-cov to coverage and Codecov to Smokeshow (#483)Sebastián Ramírezbefore adoptionb988f6f

History of this file

Take it

The walk stopped after 200 commits: lines older than 9c0495b point at it.

:memo: Update docs. Add latest docs to MkDocs/website.Sebastián Ramírezbefore adoption9c0495b

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

✨ Richify, add integrations with Rich everywhere (#419)Sebastián Ramírezbefore adoption6208b5b

lines 6–9why, one step back
6# For tests, a large terminal width
7export TERMINAL_WIDTH=30008# Force disable terminal for tests inside of pytest, takes precedence over GITHUB_ACTIONS env var9export _TYPER_FORCE_DISABLE_TERMINAL=1

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

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

:memo: Update docs. Add latest docs to MkDocs/website.Sebastián Ramírezbefore adoption9c0495b

line 11why, one step back
11# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working

👷 Move from pytest-cov to coverage and Codecov to Smokeshow (#483)Sebastián Ramírezbefore adoptionb988f6f

line 12why, one step back
12coverage run -m pytest -o console_output_style=progress --forked --numprocesses=auto ${@}