Skip to content

Commit

Permalink
chore: Enable colors on actions runner (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake authored Nov 15, 2024
1 parent ed6c36a commit fd82fe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions compiler/test/TestFramework.re
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fd82fe3

Please sign in to comment.