diff --git a/pipeline.yml b/pipeline.yml index 6221c54..0414ad0 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -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" + + \ No newline at end of file diff --git a/src/GregClient/GregClient.csproj b/src/GregClient/GregClient.csproj index badb068..874d785 100644 --- a/src/GregClient/GregClient.csproj +++ b/src/GregClient/GregClient.csproj @@ -42,7 +42,7 @@ false - + diff --git a/src/GregClientTests/GregClientTests.csproj b/src/GregClientTests/GregClientTests.csproj index ae7a002..756c771 100644 --- a/src/GregClientTests/GregClientTests.csproj +++ b/src/GregClientTests/GregClientTests.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -10,6 +10,7 @@ +