Skip to content

Commit 540ae01

Browse files
nattb8claude
andcommitted
fix(audience-tests): exclude Unity/ tests from headless dotnet build (SDK-296)
DeviceCollectorTests references Immutable.Audience.Unity which wraps UnityEngine APIs not available outside the Unity runtime. Exclude Runtime/Unity/ from the csproj the same way Editor/ is already excluded; the tests run via the Unity Test Framework through the asmdef instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3f9328b commit 540ae01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Packages/Audience/Tests/Audience.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@
2222
-->
2323
<ItemGroup>
2424
<Compile Remove="Editor/**/*.cs" />
25+
<!-- DeviceCollectorTests references Immutable.Audience.Unity which wraps
26+
UnityEngine APIs unavailable in the headless dotnet build. These tests
27+
run inside the Unity Test Framework via the asmdef instead. -->
28+
<Compile Remove="Runtime/Unity/**/*.cs" />
2529
</ItemGroup>
2630
</Project>

0 commit comments

Comments
 (0)