diff --git a/compiler/test/TestFramework.re b/compiler/test/TestFramework.re index e1c612cad..1b2ea853a 100644 --- a/compiler/test/TestFramework.re +++ b/compiler/test/TestFramework.re @@ -53,6 +53,13 @@ let clean_output = output => }; let () = { + let github_actions = + try(Unix.getenv("GITHUB_ACTIONS") == "true") { + | Not_found => false + }; + if (github_actions) { + Pastel.setMode(Pastel.Terminal); + }; /*** Override default stdlib location to use development version of stdlib */ let stdlib_dir = Unix.getenv("GRAIN_STDLIB"); let stdlib_dir = Filepath.String.derelativize(stdlib_dir);