Skip to content
Myr

test.sh

This file

Path

scripts/test.sh

12 lines · 465 bytes · Shell

Last changed by

⬆️ Upgrade coverage and configs (#769)Sebastián Ramírezbefore adoption71bdae1

History of this file

Take it

The walk stopped after 200 commits: lines older than 33dcb53 point at it.

📝 Add docs for using Rich with Typer (#421)Sebastián Ramírezbefore adoption33dcb53

lines 1–10why, one step back
1#!/usr/bin/env bash
23set -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=110bash ./scripts/test-files.sh

🔧 Tweak pytest coverage (#485)Sebastián Ramírezbefore adoptionf55e62e

line 11why, one step back
11# 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 12why, one step back
12pytest --cov --cov-report=term-missing -o console_output_style=progress --numprocesses=auto ${@}