Skip to content

Commit

Permalink
chore: Add GitHub Actions logger for CI (#174)
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Drenski <austin@austindrenski.io>
  • Loading branch information
austindrenski authored Jan 16, 2024
1 parent f5fc1dd commit c1a189a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
7.0.x
- name: Run Tests
run: dotnet test test/OpenFeature.Tests/ --configuration Release --logger:"console;verbosity=detailed"
run: dotnet test test/OpenFeature.Tests/ --configuration Release --logger GitHubActions

unit-tests-windows:
runs-on: windows-latest
Expand All @@ -43,4 +43,4 @@ jobs:
7.0.x
- name: Run Tests
run: dotnet test test\OpenFeature.Tests\ --configuration Release --logger:"console;verbosity=detailed"
run: dotnet test test\OpenFeature.Tests\ --configuration Release --logger GitHubActions
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
cp test-harness/features/evaluation.feature test/OpenFeature.E2ETests/Features/
- name: Run Tests
run: dotnet test test/OpenFeature.E2ETests/ --configuration Release --logger:"console;verbosity=detailed"
run: dotnet test test/OpenFeature.E2ETests/ --configuration Release --logger GitHubActions
5 changes: 5 additions & 0 deletions build/Common.tests.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="$(GitHubActionsTestLoggerVer)" />
</ItemGroup>

<PropertyGroup Label="Package versions used in this repository">
<!--
Please sort alphabetically.
Expand All @@ -24,6 +28,7 @@
<BenchmarkDotNetVer>[0.13.1]</BenchmarkDotNetVer>
<CoverletCollectorVer>[3.1.2]</CoverletCollectorVer>
<FluentAssertionsVer>[6.7.0]</FluentAssertionsVer>
<GitHubActionsTestLoggerVer>[2.3.3]</GitHubActionsTestLoggerVer>
<MicrosoftNETTestSdkPkgVer>[17.2.0]</MicrosoftNETTestSdkPkgVer>
<NSubstituteVer>[5.0.0]</NSubstituteVer>
<XUnitRunnerVisualStudioPkgVer>[2.4.3,3.0)</XUnitRunnerVisualStudioPkgVer>
Expand Down

0 comments on commit c1a189a

Please sign in to comment.