From 06d4456a214b3d0d7c1c761a084f8f986f5c4f25 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 14 Jan 2025 10:27:05 +0100 Subject: [PATCH] CI: run pytest in github CI colored Add colors to pytest runs in github workflows and see how test clutch copes with it! Closes #15998 --- .github/workflows/http3-linux.yml | 1 + .github/workflows/linux.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/http3-linux.yml b/.github/workflows/http3-linux.yml index 1d006613b7..897aa8d23a 100644 --- a/.github/workflows/http3-linux.yml +++ b/.github/workflows/http3-linux.yml @@ -494,6 +494,7 @@ jobs: env: TFLAGS: "${{ matrix.build.tflags }}" CURL_CI: github + PYTEST_ADDOPTS: "--color=yes" run: | source $HOME/venv/bin/activate if [ -n '${{ matrix.build.generate }}' ]; then diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 13d365768e..bcc98babc4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -671,6 +671,7 @@ jobs: env: TFLAGS: "${{ matrix.build.tflags }}" CURL_CI: github + PYTEST_ADDOPTS: "--color=yes" run: | [ -x "$HOME/venv/bin/activate" ] && source $HOME/venv/bin/activate if [ -n '${{ matrix.build.generate }}' ]; then