Skip to content

Commit 08af499

Browse files
committed
🎭 Enable output ANSI-colorization in CI
1 parent 713d81c commit 08af499

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/self-smoke-test-action.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ on: # yamllint disable-line rule:truthy
66
push:
77
pull_request:
88

9+
env:
10+
FORCE_COLOR: 1 # Request colored output from CLI tools supporting it
11+
MYPY_FORCE_COLOR: 1 # MyPy's color enforcement
12+
PIP_DISABLE_PIP_VERSION_CHECK: 1
13+
PIP_NO_PYTHON_VERSION_WARNING: 1
14+
PIP_NO_WARN_SCRIPT_LOCATION: 1
15+
PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`
16+
TOX_PARALLEL_NO_SPINNER: 1
17+
TOX_TESTENV_PASSENV: >- # Make tox-wrapped tools see color requests
18+
FORCE_COLOR
19+
MYPY_FORCE_COLOR
20+
NO_COLOR
21+
PY_COLORS
22+
PYTEST_THEME
23+
PYTEST_THEME_MODE
24+
925
jobs:
1026
smoke-test:
1127
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)