Releases: codebeltnet/jobs-dotnet-test
Release list
v3.2.1
What's Changed
This patch release fixes Bash compatibility in the test workflow for macOS. Apple ships Bash 3.2, which lacks modern features like globstar and extended array handling available in Bash 4+. The fix replaces globstar-based array operations with find commands and refactors conditionals to use boolean flags, ensuring the workflow runs reliably on both macOS and Linux runners.
Sources:
- 💚 fix bash compatibility in test workflow for macos by @gimlichael in 117eaf8
Full Changelog: v3.2.0...v3.2.1
v3.2.0
What's Changed
This release adds infrastructure and documentation for Microsoft.Testing.Platform support, enabling modern .NET testing workflows. The test job now detects opt-in configuration via global.json and automatically runs tests using native Microsoft.Testing.Platform arguments when enabled. Coverage file detection has been enhanced to conditionally identify coverage files based on the testing execution mode, and ReportGenerator now supports both cobertura.xml and opencover.xml formats for flexible coverage reporting across .NET versions.
Tip
To enable Microsoft.Testing.Platform in your repository, add the opt-in configuration to your global.json for .NET 10+ projects. The workflow will automatically detect this setting and execute tests accordingly while maintaining backward compatibility with .NET Framework modules using legacy test execution.
Sources:
- 👷 add microsoft.testing.platform support to test workflow by @gimlichael in acbf66e
- 💬 document microsoft.testing.platform opt-in mechanism by @gimlichael in e4a7440
Full Changelog: v3.1.0...v3.2.0
v3.1.0
What's Changed
This release improves diagnostics when .NET tests fail in the reusable workflow.
Improved failed test reporting
- Added automatic extraction of failed test details from generated TRX files.
- Failed tests are now written directly to the GitHub Actions job summary.
- Failure details include:
- test name
- duration
- TRX result file path
- failure message
- stack trace
- Failed tests are also emitted as GitHub Actions error annotations, making failures easier to find directly in the workflow log.
- Log output is grouped per failed test to improve readability.
Coverage summary handling
- Replaced OS-specific coverage summary steps with a single PowerShell-based implementation.
- Coverage summary publishing now checks whether
SummaryGithub.mdexists before attempting to append it to the job summary. - This makes the workflow more robust when coverage output is missing or not generated.
Full Changelog: v3.0...v3.1.0
v3.0.8
- Bump actions/cache to v5
- Bump actions/download-artifact to v8
Full Changelog: v3.0.6...v3.0.8
v3.0.7
- Content of Test Results Folder and Write to Job Summary were only wired for Linux and Windows. Add the matching macOS (runner.os == 'macOS') steps so coverage output and the step summary are also captured on macOS runners.
Full Changelog: v3.0...v3.0.7
v3.0.6
v3.0.5
- Added support for
download-pattern.
Full Changelog: v3.0.4...v3.0.5
v3.0.4
- Appy execute permission on all files in any bin or obj directory (xUnit v3 challenge on Linux)
Full Changelog: v3.0.3...v3.0.4
v3.0.3
- Added extensive logging when
verbosity-levelis set to diag|diagnostic.
Full Changelog: v3...v3.0.3
v3.0.2
- Fix linux test apphost permissions for xunit v3
Full Changelog: v3.0.1...v3.0.2