mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-13 20:11:00 +00:00

* adds integration test for the InMemoryRuntime * format * expand timeout for in memory runtime tests
55 lines
2.1 KiB
XML
55 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Aspire.Hosting.Testing" />
|
|
<PackageReference Include="coverlet.collector" />
|
|
<PackageReference Include="GitHubActionsTestLogger">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="MartinCostello.Logging.XUnit" />
|
|
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="System.Net" />
|
|
<Using Include="Microsoft.Extensions.DependencyInjection" />
|
|
<Using Include="Aspire.Hosting.ApplicationModel" />
|
|
<Using Include="Aspire.Hosting.Testing" />
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\samples\Hello\Hello.AppHost\Hello.AppHost.csproj" />
|
|
<ProjectReference Include="..\..\samples\Hello\HelloAgent\HelloAgent.csproj" />
|
|
<ProjectReference Include="..\Microsoft.AutoGen.Integration.Tests.AppHosts\HelloAgent.AppHost\HelloAgent.AppHost.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- Properties, Items, and targets to ensure Python apps are initialized -->
|
|
<PropertyGroup>
|
|
<PythonVirtualEnvironmentName>.venv</PythonVirtualEnvironmentName>
|
|
<PythonVenvRoot>$(RepoRoot)..\python</PythonVenvRoot>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target Name="CreatePythonVirtualEnvironments" AfterTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<VenvDir>$(PythonVenvRoot)\$(PythonVirtualEnvironmentName)\</VenvDir>
|
|
<CreateVenv Condition="!Exists('$(VenvDir)')">True</CreateVenv>
|
|
</PropertyGroup>
|
|
<Message Importance="Normal" Text="Initializing virtual environment for $(PythonVenvRoot)" />
|
|
|
|
<Exec Command="uv sync --all-extras" WorkingDirectory="$(PythonVenvRoot)" Condition=" '$(CreateVenv)' == 'True' " />
|
|
</Target>
|
|
|
|
|
|
</Project>
|