🎭 Enable output ANSI-colorization in CI

This commit is contained in:
Sviatoslav Sydorenko 2022-12-06 22:08:08 +01:00
parent 713d81cca0
commit 08af49986e
No known key found for this signature in database
GPG key ID: 9345E8FEA89CA455

View file

@ -6,6 +6,22 @@ on: # yamllint disable-line rule:truthy
push: push:
pull_request: pull_request:
env:
FORCE_COLOR: 1 # Request colored output from CLI tools supporting it
MYPY_FORCE_COLOR: 1 # MyPy's color enforcement
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1
PIP_NO_WARN_SCRIPT_LOCATION: 1
PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`
TOX_PARALLEL_NO_SPINNER: 1
TOX_TESTENV_PASSENV: >- # Make tox-wrapped tools see color requests
FORCE_COLOR
MYPY_FORCE_COLOR
NO_COLOR
PY_COLORS
PYTEST_THEME
PYTEST_THEME_MODE
jobs: jobs:
smoke-test: smoke-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest