File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 36
36
- name : Build solution
37
37
run : dotnet build
38
38
- name : Run tests
39
- run : dotnet test --no-build --logger: "html;LogFileName=../../TestResults-${{ runner.os }}.html"
39
+ run : dotnet test --no-build --logger "html;LogFileName=../../TestResults-${{ runner.os }}.html" --logger GitHubActions
40
40
id : dotnet-test
41
41
- name : Upload received files from failing tests
42
42
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 20
20
<PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" />
21
21
</ItemGroup >
22
22
23
+ <ItemGroup Condition =" $(ContinuousIntegrationBuild) == 'true'" >
24
+ <PackageReference Include =" GitHubActionsTestLogger" Version =" 1.2.0" />
25
+ </ItemGroup >
26
+
23
27
<PropertyGroup Label =" Coverage" >
24
28
<!-- Automatically collect coverage when running `dotnet test` -->
25
29
<CollectCoverage >true</CollectCoverage >
You can’t perform that action at this time.
0 commit comments