From d18ce867be1b57de5a957071b794fb58754966b8 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Fri, 22 Apr 2022 08:18:18 -0500 Subject: [PATCH] force pytest color output for all tests via PY_COLORS --- testing/downstream_testing/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/downstream_testing/docker-compose.yml b/testing/downstream_testing/docker-compose.yml index ea5bf33a8..73ffe12f8 100644 --- a/testing/downstream_testing/docker-compose.yml +++ b/testing/downstream_testing/docker-compose.yml @@ -9,6 +9,8 @@ services: - DS_JOBS - DS_MATRIX_EXCLUDE - COV_CMD + - PY_COLORS=1 + - TOX_TESTENV_PASSENV=PY_COLORS volumes: - type: bind source: /home/runner/work/pytest/pytest @@ -29,6 +31,8 @@ services: - TEST_DB_USER=$USER - TEST_DB_PASSWORD=pytest_djang0 - TEST_DB_HOST=postgres_db + - PY_COLORS=1 + - TOX_TESTENV_PASSENV=PY_COLORS volumes: - type: bind source: /home/runner/work/pytest/pytest @@ -61,6 +65,8 @@ services: - TEST_DB_USER=root - TEST_DB_PASSWORD=root - TEST_DB_HOST=mysql_db + - PY_COLORS=1 + - TOX_TESTENV_PASSENV=PY_COLORS volumes: - type: bind source: /home/runner/work/pytest/pytest