Skip to content
Myr

test.sh

This file

Path

scripts/test.sh

13 lines · 539 bytes · Shell

Last changed by

🔨 Add `--showlocals` to `test.sh` (#1169)Rick Porterbefore adoption4bb6f3b

History of this file

Take it

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

📝 Update release notesgithub-actions[bot]before adoption9cdc5b5

lines 1–12why, 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=110# Run autocompletion install tests in the CI11export _TYPER_RUN_INSTALL_COMPLETION_TESTS=112# It seems xdist-pytest ensures modified sys.path to import relative modules in examples keeps working

🔨 Add `--showlocals` to `test.sh` (#1169)Rick Porterbefore adoption4bb6f3b

line 13why, one step back
13pytest --cov --cov-report=term-missing -o console_output_style=progress --showlocals --numprocesses=auto ${@}