File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh -e
2
+ set -x
3
+ set -e
4
+
5
+ ruff src tests scripts --fix
6
+ ruff format src tests scripts
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ set -x
5
+
6
+ mypy src tests scripts
7
+ ruff check src tests scripts
8
+ ruff format src tests --check
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ set -x
5
+
6
+ bash scripts/test.sh --cov-report=html ${@ }
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+ set -x
5
+
6
+ # For tests, a large terminal width
7
+ export TERMINAL_WIDTH=3000
8
+ # Force disable terminal for tests inside of pytest, takes precedence over GITHUB_ACTIONS env var
9
+ export _TYPER_FORCE_DISABLE_TERMINAL=1
10
+ # It seems xdist-pytest ensures modified sys.path to import relative modules in examples keeps working
11
+ pytest --cov --cov-report=term-missing -o console_output_style=progress --numprocesses=auto ${@ }
You can’t perform that action at this time.
0 commit comments