Skip to content

Commit 0786437

Browse files
committed
tests
1 parent 2dd0e09 commit 0786437

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Build
5959
run: dotnet build --no-restore
6060
- name: Test
61-
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=ManagedCode.Storage.Tests/lcov.info
61+
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=ManagedCode.Storage.Tests/lcov.info --logger "trx;LogFileName=test-results.trx"
6262
env:
6363
DEFAULT_REGION: eu-west-1
6464
AWS_ACCESS_KEY_ID: localkey

ManagedCode.Storage.Tests/ManagedCode.Storage.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<LangVersion>10</LangVersion>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
10+
<PropertyGroup>
11+
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
12+
<VSTestResultsDirectory>$(MSBuildThisFileDirectory)/TestResults/$(TargetFramework)</VSTestResultsDirectory>
13+
</PropertyGroup>
1014
<ItemGroup>
1115
<None Update="xunit.runner.json">
1216
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)