GitHub Actions annotations for tests

This commit is contained in:
Malte Rosenbjerg 2020-10-25 17:25:46 +01:00
parent d0293598ae
commit a40d264de5
2 changed files with 2 additions and 1 deletions

View file

@ -15,4 +15,4 @@ jobs:
- name: Build with dotnet - name: Build with dotnet
run: dotnet build run: dotnet build
- name: Test with dotnet - name: Test with dotnet
run: dotnet test run: dotnet test --logger GitHubActions

View file

@ -36,6 +36,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="1.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.2" /> <PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.2" /> <PackageReference Include="MSTest.TestFramework" Version="2.1.2" />