Added logging dependencies.
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
This commit is contained in:
parent
025999ab59
commit
a7da520faf
@ -7,6 +7,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
||||
|
@ -5,6 +5,11 @@
|
||||
<ProjectReference Include="..\GameServiceWarden.InteractionAPI\GameServiceWarden.InteractionAPI.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -9,13 +9,13 @@ pipeline {
|
||||
stage ("Install") {
|
||||
steps {
|
||||
sh "conda update conda -y -q"
|
||||
sh "conda env update -n base --file environment.yml"
|
||||
sh "conda env update -n base --file environment.yml -q"
|
||||
sh "conda run -n base dotnet restore gameservicewarden.sln"
|
||||
}
|
||||
}
|
||||
stage ("Test") {
|
||||
steps {
|
||||
sh "conda run -n base dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
|
||||
sh returnStatus: true, script: 'conda run -n base dotnet test --logger xunit --no-restore gameservicewarden.sln'
|
||||
xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
|
||||
}
|
||||
}
|
||||
|
@ -3,4 +3,7 @@ channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- dotnet
|
||||
- icu
|
||||
- icu
|
||||
- tar
|
||||
- zip
|
||||
- nodejs
|
Reference in New Issue
Block a user