Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add test output formatter #264

Merged
merged 2 commits into from
Jun 4, 2024
Merged

ci: Add test output formatter #264

merged 2 commits into from
Jun 4, 2024

Commits on May 29, 2024

  1. Add a test2json formatter for better output on github actions.

    This will:
    
    1. Group all test output per each individual test, which are collapsed
       per each test in the job console output.
    2. Add indicator in test group name to highlight failed tests in the
       console.
    3. Adds annotations for failed tests, with notices for the fail line in
       the file diff and also in the workflow summary.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    27cca67 View commit details
    Browse the repository at this point in the history
  2. ci: download mods ahead of running test

    This just keeps the module download output out of the `go test` output
    to keep the CI view a little cleaner.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    1fdfaa8 View commit details
    Browse the repository at this point in the history