test.sh
This file
Path
scripts/test.sh
12 lines 路 490 bytes 路 Shell
Last changed by
馃敡 Tweak pytest coverage (#485)Sebasti谩n Ram铆rezbefore adoptionf55e62e
History of this fileTake it
12345678910111213#!/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=1bash ./scripts/test-files.sh# It seems xdist-pytest ensures modified sys.path to import relative modules in examples keeps workingpytest --cov-config=.coveragerc --cov --cov-report=term-missing -o console_output_style=progress --numprocesses=auto ${@}