Commit e10a762
committed
ci(audience): add Editor-tests workflow + close test-discovery gap (SDK-326)
Audience package's Unity-dependent tests have never run in CI:
test-audience-sdk.yml's csproj excludes Tests/Runtime/Unity/** and
Tests/Editor/**, and test-audience-sample-app.yml never discovered the
package's tests because manifest.json had no testables entry.
DeviceCollectorTests has shipped with two compile errors that no PR
caught.
* Add testables entry — sample app workflow now picks up
Immutable.Audience.Runtime.Tests via its existing PlayMode cells
(StandaloneOSX/Win64), which also gives them IL2CPP coverage.
* New test-audience-sdk-editor.yml — runs Immutable.Audience.Editor.Tests
(e.g. iOSInfoPlistPostProcessor). Editor-only asmdef + UnityEditor.iOS.Xcode
dependency means it can't run in the sample app's PlayMode cells.
* Add InternalsVisibleTo on Immutable.Audience.Unity for the test asmdef
so DeviceCollectorTests can see DeviceCollector and IDFVBridge.
* Fix DeviceCollectorTests' is-not-string-s pattern: the negated form
doesn't bind s, so CS0165 fires once compilation actually runs.1 parent e6abbbd commit e10a762
5 files changed
Lines changed: 77 additions & 2 deletions
File tree
- .github/workflows
- examples/audience/Packages
- src/Packages/Audience
- Runtime/Unity
- Tests/Runtime/Unity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments