Skip to content

Commit

Permalink
add test ci (#91)
Browse files Browse the repository at this point in the history
switch to 108
  • Loading branch information
mjkkirschner authored Nov 14, 2023
1 parent 56fce43 commit 54f6e97
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
13 changes: 13 additions & 0 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,16 @@ deployment:
scripts:
- "pwsh.exe -ExecutionPolicy ByPass -File .\\cicdscripts\\ExecuteContainerDeploy.ps1"
- "pwsh.exe -ExecutionPolicy ByPass -File .\\cicdscripts\\PostDeploy.ps1"

ci_test:
tests:
-
scripts:
- "dotnet test src/GregClientTests/GregClientTests.csproj --logger:'junit;LogFilePath=testresults\\testresults.xml'"

test_report_dir: TestResults
test_report_pattern:
format: "junit"
pattern: "*.xml"


2 changes: 1 addition & 1 deletion src/GregClient/GregClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup Label="Common package dependencies">
<PackageReference Include="RestSharp" Version="109.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\CHANGELOG.md">
Expand Down
3 changes: 2 additions & 1 deletion src/GregClientTests/GregClientTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand All @@ -10,6 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JunitXml.TestLogger" Version="3.0.134" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" />
Expand Down

0 comments on commit 54f6e97

Please sign in to comment.