Skip to content

Commit 314c016

Browse files
authored
.Net - Include Agent Runtime UnitTests in Github Pipeline (#11747)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Ensure unit-tests for the Agent Runtime are being included in the github workflows. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Noticed that the agent runtime projects weren't reporting any coverage in github build action. Realized the workflows are selecting on projects with the `UnitTest` suffix. Example Log (no coverage): https://github.com/microsoft/semantic-kernel/actions/runs/14673168889/job/41184172441 With this change: ![image](https://github.com/user-attachments/assets/5cd91855-3312-4a81-8e76-eb38aa233ac3) ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄
1 parent 0884922 commit 314c016

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

dotnet/SK-dotnet.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -540,15 +540,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Runtime", "Runtime", "{A70E
540540
EndProject
541541
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Abstractions", "src\Agents\Runtime\Abstractions\Runtime.Abstractions.csproj", "{B9C86C5D-EB4C-8A16-E567-27025AC59A28}"
542542
EndProject
543-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Abstractions.Tests", "src\Agents\Runtime\Abstractions.Tests\Runtime.Abstractions.Tests.csproj", "{BB74EEE2-F048-A1A4-F53E-2B384A6F8BC4}"
543+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Abstractions.UnitTests", "src\Agents\Runtime\Abstractions.Tests\Runtime.Abstractions.UnitTests.csproj", "{BB74EEE2-F048-A1A4-F53E-2B384A6F8BC4}"
544544
EndProject
545545
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Core", "src\Agents\Runtime\Core\Runtime.Core.csproj", "{19DC60E6-AD08-4BCB-A4DF-B80E0941B458}"
546546
EndProject
547-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Core.Tests", "src\Agents\Runtime\Core.Tests\Runtime.Core.Tests.csproj", "{A4F05541-7D23-A5A9-033D-382F1E13D0FE}"
547+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.Core.UnitTests", "src\Agents\Runtime\Core.Tests\Runtime.Core.UnitTests.csproj", "{A4F05541-7D23-A5A9-033D-382F1E13D0FE}"
548548
EndProject
549549
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.InProcess", "src\Agents\Runtime\InProcess\Runtime.InProcess.csproj", "{CCC909E4-5269-A31E-0BFD-4863B4B29BBB}"
550550
EndProject
551-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.InProcess.Tests", "src\Agents\Runtime\InProcess.Tests\Runtime.InProcess.Tests.csproj", "{DA6B4ED4-ED0B-D25C-889C-9F940E714891}"
551+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime.InProcess.UnitTests", "src\Agents\Runtime\InProcess.Tests\Runtime.InProcess.UnitTests.csproj", "{DA6B4ED4-ED0B-D25C-889C-9F940E714891}"
552552
EndProject
553553
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VectorData.UnitTests", "src\Connectors\VectorData.UnitTests\VectorData.UnitTests.csproj", "{AAC7B5E8-CC4E-49D0-AF6A-2B4F7B43BD84}"
554554
EndProject

0 commit comments

Comments
 (0)