Skip to content

Commit

Permalink
(ci) Enable coloured mode for test-stdlib output
Browse files Browse the repository at this point in the history
In normal (TTY/xterm-256color) mode, the library detects colour support
automatically. However, when running from our CI jobs, this need to be
manually enabled.

https://gitlab.perlang.org/perlang/perlang/-/merge_requests/554
  • Loading branch information
perlun committed Nov 6, 2024
1 parent 3c43138 commit 6a301f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ test:
dotnet test --configuration Release

test-stdlib: stdlib
src/stdlib/out/tests
# We need --colour-mode since colour support is not auto-detected in CI.
src/stdlib/out/tests --colour-mode ansi

#
# Steps for publishing a new release:
Expand Down
2 changes: 2 additions & 0 deletions release-notes/v0.6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
- Run `test` job in build matrix, with and without Valgrind enabled [[!535][535]]
- Add JUnit-based test reporting for GitLab CI [[!539][539]]
- Enable full leak checking when running Valgrind [[!547][547]]
- Enable coloured mode for `test-stdlib` output [[!554][554]

### Removed
- Remove unused `Perlang.Compiler` project [[!511][511]]
Expand Down Expand Up @@ -139,3 +140,4 @@
[551]: https://gitlab.perlang.org/perlang/perlang/merge_requests/551
[552]: https://gitlab.perlang.org/perlang/perlang/merge_requests/552
[553]: https://gitlab.perlang.org/perlang/perlang/merge_requests/553
[554]: https://gitlab.perlang.org/perlang/perlang/merge_requests/554

0 comments on commit 6a301f4

Please sign in to comment.