Skip to content

Commit

Permalink
Build: Improve BuildRelease.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Nov 6, 2024
1 parent 1dd7d85 commit 34629b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/BuildRelease.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ cd %~dp0../src

dotnet build System.Waf/System.Waf.sln -c Release -p:ContinuousIntegrationBuild=true

pwsh -c "Get-ChildItem -Recurse | Where-Object {$_.Name -eq 'TestResults'} | Remove-Item -Force -Recurse"
dotnet test System.Waf/System.Waf.sln -c Release --no-build --collect "Code Coverage"

mkdir ..\out\CodeCoverageReport
dotnet-coverage merge --output ../out/CodeCoverageReport/System.Waf.cobertura.xml --output-format cobertura "./**/TestResults/**/*.coverage"

reportgenerator -reports:../out/CodeCoverageReport/System.Waf.cobertura.xml -targetdir:../out/CodeCoverageReport -reporttypes:"MarkdownSummaryGithub"
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Xunit.Abstractions;

namespace UITest.InformationManager.Tests;

public class EmailTest(ITestOutputHelper log) : UITest(log)
{
[Fact]
Expand Down

0 comments on commit 34629b5

Please sign in to comment.