Skip to content

Commit

Permalink
ci: added GitHubActionsTestLogger logger
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Apr 22, 2021
1 parent f8fab22 commit 7654f1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: dotnet build -c release -p:ContinuousIntegrationBuild=true

- name: 🧪 Run unit tests
run: dotnet test -c release --no-build
run: dotnet test -c release --no-build --logger GitHubActions

- name: 🗳️ Create library packages
run: |
Expand Down
5 changes: 5 additions & 0 deletions bunit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "bunit.web.testcomponents",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "bunit.web.testcomponents.tests", "tests\bunit.web.testcomponents.tests\bunit.web.testcomponents.tests.csproj", "{4CAB561E-0AFF-4516-AB9B-981F94EF1E86}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".workflows", ".workflows", "{3B2F3419-5336-4147-A212-E19091195203}"
ProjectSection(SolutionItems) = preProject
.github\workflows\verification.yml = .github\workflows\verification.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
5 changes: 1 addition & 4 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@
</PropertyGroup>

<ItemGroup Condition="$(MSBuildProjectName) != 'bunit.testassets'">
<PackageReference Include="AngleSharp" Version="0.14.0" />
<PackageReference Include="AngleSharp.Css" Version="0.14.2" />
<PackageReference Include="AngleSharp.Diffing" Version="0.14.0" />
<PackageReference Include="AutoFixture" Version="4.15.0" />
<PackageReference Include="AutoFixture.Xunit2" Version="4.15.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="GitHubActionsTestLogger" Version="1.2.0" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="Shouldly" Version="4.0.3" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="AutoFixture.Xunit2" Version="4.15.0" />
<PackageReference Include="Xunit.Combinatorial" Version="1.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" PrivateAssets="All" />
<PackageReference Include="coverlet.msbuild" Version="3.0.3" PrivateAssets="All" />
Expand Down

0 comments on commit 7654f1e

Please sign in to comment.