dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
4.03k stars 858 forks source link

chore: Add CI logs artifacts and failed test reports #10104

Closed filzrev closed 2 months ago

filzrev commented 2 months ago

This PR add following features for CI.

Example logs artifacts & failed test reports https://github.com/filzrev/docfx/actions/runs/9898236420

lahma commented 2 months ago

I know this is a closed PR, but another option is to use GitHub Actions Test Logger, which produces quite nice summaries automatically.

filzrev commented 2 months ago

I knows GitHub Actions Test Logger is great software. And it can report errors faster than using .trx files. Because it's implemented as MSBuild logger.

But GitHub Actions Test Logger requires additional Terms of use agreements to use software.

I've concerned about impact on docfx licensing (MIT). So I've taken approach to parsing trx files and report errors.


Another options I've considered are bellows.

lahma commented 2 months ago

I think the terms of use more affect the maintainers as the test logger won't be a shipped dependency (private asset).