From 54f6e974beb95e7cb79f739900210038157df1e8 Mon Sep 17 00:00:00 2001 From: Michael Kirschner Date: Tue, 14 Nov 2023 12:01:04 -0500 Subject: [PATCH] add test ci (#91) switch to 108 --- pipeline.yml | 13 +++++++++++++ src/GregClient/GregClient.csproj | 2 +- src/GregClientTests/GregClientTests.csproj | 3 ++- 3 files changed, 16 insertions(+), 2 deletions(-) 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 @@ +