diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46e1ec9c..5f888690 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,32 @@ name: tests on: [push, pull_request] +env: + # Color support (jaraco/skeleton#66) + # Request colored output from CLI tools supporting it + FORCE_COLOR: true + # MyPy's color enforcement + MYPY_FORCE_COLOR: true + # Recognized by the `py` package, dependency of `pytest` + PY_COLORS: true + # Make tox-wrapped tools see color requests + TOX_TESTENV_PASSENV: >- + FORCE_COLOR + MYPY_FORCE_COLOR + NO_COLOR + PY_COLORS + PYTEST_THEME + PYTEST_THEME_MODE + + # Suppress noisy pip warnings + PIP_DISABLE_PIP_VERSION_CHECK: true + PIP_NO_PYTHON_VERSION_WARNING: true + PIP_NO_WARN_SCRIPT_LOCATION: true + + # Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream + TOX_PARALLEL_NO_SPINNER: true + + jobs: test: strategy: