test.sh
This file
Path
scripts/test.sh
11 lines · 436 bytes · Shell
Last changed by
🔧 Explicitly include testing files in sdist for redistributors (e.g. OpenSUSE) and add CI to test redistribution (#773)Sebastián Ramírezbefore adoption0cdc31e
History of this fileTake it
The walk stopped after 200 commits: lines older than 9930495 point at it.
⬆ [pre-commit.ci] pre-commit autoupdate (#592)pre-commit-ci[bot]before adoption9930495
lines 1–10why, one step back1#!/usr/bin/env bash23set -e4set -x56# For tests, a large terminal width7export TERMINAL_WIDTH=30008# Force disable terminal for tests inside of pytest, takes precedence over GITHUB_ACTIONS env var9export _TYPER_FORCE_DISABLE_TERMINAL=110# It seems xdist-pytest ensures modified sys.path to import relative modules in examples keeps working⬆️ Upgrade coverage and configs (#769)Sebastián Ramírezbefore adoption71bdae1
line 11why, one step back11pytest --cov --cov-report=term-missing -o console_output_style=progress --numprocesses=auto ${@}