test.sh
This file
123456789101112#!/usr/bin/env bash
set -eset -x
# For tests, a large terminal widthexport TERMINAL_WIDTH=3000# Force disable terminal for tests inside of pytest, takes precedence over GITHUB_ACTIONS env varexport _TYPER_FORCE_DISABLE_TERMINAL=1# It seems xdist-pytest ensures modified sys.path to import relative modules in examples keeps workingpytest --cov --cov-report=term-missing -o console_output_style=progress --numprocesses=auto ${@}