From dec26e15b3e5fe6d3546bb104939ceeacb50b87c 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. --- .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 9212e4ddff2..afdb74394c7 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -162,7 +162,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 1e39aceeb88..c2450771754 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 14f2992848a..7e8853634a7 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