diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98e32512f7a..f92d7594aeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,8 @@ on: branches: - main - "[0-9]+.[0-9]+.x" +env: + PY_COLORS: "1" jobs: build: diff --git a/tox.ini b/tox.ini index 1c1d2bb2c1f..b867a8169f7 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = doctesting: {env:_PYTEST_TOX_COVERAGE_RUN:} pytest --doctest-modules --pyargs _pytest coverage: coverage combine coverage: coverage report -m -passenv = USER USERNAME COVERAGE_* PYTEST_ADDOPTS TERM +passenv = USER USERNAME COVERAGE_* PYTEST_ADDOPTS TERM PY_COLORS setenv = _PYTEST_TOX_DEFAULT_POSARGS={env:_PYTEST_TOX_POSARGS_DOCTESTING:} {env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_XDIST:}