From 6e8237198a41fa9b0e37ca8fa04b2c0a3b085bca Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 14 Sep 2021 21:25:07 +0200 Subject: [PATCH] ci(GHA): use `pytest --color=yes` `--color=auto` does not work on GitHub Actions, so let's just force it there. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78a2f774c30..c8b479f0081 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -160,7 +160,7 @@ jobs: - name: Test env: - PYTEST_ADDOPTS: "-ra --durations=50 ${{ matrix.pytest_addopts }}" + PYTEST_ADDOPTS: "--color=yes -ra --durations=50 ${{ matrix.pytest_addopts }}" COLUMNS: "120" # UTF-8 mode for Windows (https://docs.python.org/3/using/windows.html#utf-8-mode). PYTHONUTF8: "1"