Closed filzrev closed 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.
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.
I think the terms of use more affect the maintainers as the test logger won't be a shipped dependency (private asset).
This PR add following features for CI.
Logs
artifacts that contains following files.dotnet build
command (msbuild.binlog
)dotnet test
command test results (trx
andhtml
)Failed Tests
to GitHub job summary.Example logs artifacts & failed test reports https://github.com/filzrev/docfx/actions/runs/9898236420