From e33eb3623192c9a57b9988bbc0d62c100d65c08a Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 28 Oct 2023 09:22:27 +0200 Subject: [PATCH] Use colored output on CI for Doctest GitHub Actions output is not considered a TTY, so colored output must be forced. (cherry picked from commit dec26e15b3e5fe6d3546bb104939ceeacb50b87c) --- .github/workflows/linux_builds.yml | 2 +- .github/workflows/macos_builds.yml | 2 +- .github/workflows/windows_builds.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 048e7eaf517..36bc04cac35 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -150,7 +150,7 @@ jobs: run: | ${{ matrix.bin }} --version ${{ matrix.bin }} --help - ${{ matrix.bin }} --test --headless + ${{ matrix.bin }} --headless --test --force-colors # Check class reference - name: Check for class reference updates diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml index 7d96a3b6dfe..97d4c4c9f7b 100644 --- a/.github/workflows/macos_builds.yml +++ b/.github/workflows/macos_builds.yml @@ -72,4 +72,4 @@ jobs: run: | ${{ matrix.bin }} --version ${{ matrix.bin }} --help - ${{ matrix.bin }} --test + ${{ matrix.bin }} --test --force-colors diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index b11e10ca080..f5882def4ce 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -75,4 +75,4 @@ jobs: run: | ${{ matrix.bin }} --version ${{ matrix.bin }} --help - ${{ matrix.bin }} --test + ${{ matrix.bin }} --test --force-colors