Skip to content

Commit

Permalink
GitHub Actions logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Craver committed Oct 22, 2020
1 parent 59ef0c4 commit 012da5f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
working-directory: ./tests/RedisConfigs
run: docker-compose -f docker-compose.yml up -d
- name: .NET Test
run: dotnet test Build.csproj -c Release --no-build /p:CI=true
env:
EnableTestLogging: true
run: dotnet test Build.csproj -c Release --logger GitHubActions /p:CI=true
- name: .NET Lib Pack
run: dotnet pack Build.csproj --no-build -c Release /p:Packing=true /p:PackageOutputPath=%CD%\.nupkgs /p:CI=true
3 changes: 2 additions & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Update="BenchmarkDotNet" Version="0.12.0" />
<PackageReference Update="GitHubActionsTestLogger" Version="1.1.0" />
<PackageReference Update="Microsoft.Bcl.AsyncInterfaces" Version="1.1.1" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.7.0" />
<PackageReference Update="Moq" Version="4.14.1" />
<PackageReference Update="NSubstitute" Version="4.2.1" />
<PackageReference Update="Pipelines.Sockets.Unofficial" Version="2.1.16" />
Expand Down
2 changes: 2 additions & 0 deletions tests/NRediSearch.Test/NRediSearch.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<OutputType>Library</OutputType>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\NRediSearch\NRediSearch.csproj" />
<ProjectReference Include="..\StackExchange.Redis.Tests\StackExchange.Redis.Tests.csproj" />
<PackageReference Include="GitHubActionsTestLogger" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<SignAssembly>true</SignAssembly>
<DebugType>full</DebugType>
<LangVersion>8.0</LangVersion>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

<ItemGroup>
Expand All @@ -16,6 +16,7 @@

<ItemGroup>
<ProjectReference Include="..\..\src\StackExchange.Redis\StackExchange.Redis.csproj" />
<PackageReference Include="GitHubActionsTestLogger" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Moq" />
<PackageReference Include="Newtonsoft.Json" />
Expand Down

0 comments on commit 012da5f

Please sign in to comment.