]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: run pytest in github CI colored
authorStefan Eissing <stefan@eissing.org>
Tue, 14 Jan 2025 09:27:05 +0000 (10:27 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Jan 2025 10:34:56 +0000 (11:34 +0100)
Add colors to pytest runs in github workflows and see how test clutch
copes with it!

Closes #15998

.github/workflows/http3-linux.yml
.github/workflows/linux.yml

index 1d006613b733ef3f26935116416de1a68f7c6473..897aa8d23ad31ec3d2c1db3699b832f6f54ab833 100644 (file)
@@ -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
index 13d365768e32fa741fc27fc869147b5db3dccb4e..bcc98babc428cd15eb41a11be415dd8b14d1dcd1 100644 (file)
@@ -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