lab0-c
lab0-c copied to clipboard
Group GitHub Actions logging messages
Previously, the workflow used to test the code does not group log messages, possibly making the output too lengthy and hard to scroll on the web. Especially the logs generated by dudect/fixture.c, although it shows perfectly fine on local machines by rewriting previous lines in the terminal, github actions does not seem to support it.
The log grouping is done by adding ::group::{title} and ::endgroup:: which are mentioned in github docs. Another argument --group-output is added to scripts/driver.py to optionally enable grouping. Added another target test_ga in Makefile and replaced make test with it in github workflow. ("ga" is the abbreviation for "github actions")