Skip to content
Myr

test.sh

This file

Path

scripts/test.sh

11 lines · 391 bytes · Shell

Last changed by

:wrench: Update tests toolsSebastián Ramírezbefore adoption5d7eb22

History of this file

Take it

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

lines 1–6why, one step back
1#!/usr/bin/env bash
23set -e4set -x56export PYTHONPATH=./docs/src

:wrench: Update tests toolsSebastián Ramírezbefore adoption5d7eb22

lines 7–8why, one step back
7# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working
8pytest --cov=typer --cov=tests --cov=docs/src --cov-report=term-missing -o console_output_style=progress --forked --numprocesses=auto ${@}

:wrench: Add scriptsSebastián Ramírezbefore adoptionfad33cb

line 9why, one step back
9bash ./scripts/lint.sh

:wrench: Update tests toolsSebastián Ramírezbefore adoption5d7eb22

lines 10–11why, one step back
10# Include tests for files
11bash ./scripts/test-files.sh