From 3d745ce8f509c87b6bb27bb6a44aea0c04def9c0 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Tue, 30 Jun 2026 15:20:01 -0400 Subject: [PATCH] disable color handling when windows testing. --- .github/workflows/main.yml | 2 ++ test/rakefile_helper.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 139a53d..8b66a49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,5 +63,7 @@ jobs: # Run Tests - name: Run All Unit Tests + env: + NO_COLOR: ${{ matrix.os == 'windows-latest' && '1' || '' }} run: | cd test && rake ci diff --git a/test/rakefile_helper.rb b/test/rakefile_helper.rb index 66030ac..8c9adba 100644 --- a/test/rakefile_helper.rb +++ b/test/rakefile_helper.rb @@ -80,7 +80,7 @@ module RakefileHelpers raise "Cannot find Config File #{config_target}" end - $colour_output = $proj[:project][:colour] + $colour_output = $proj[:project][:colour] && !ENV['NO_COLOR'] end def configure_clean