Commit a6a2728
test(diff-aware): declare target in apm.yml + skip unimplemented orphan-removal class
Two fixes for tests/integration/test_diff_aware_install_e2e.py exposed by the v0.12.3 release pipeline (https://github.com/microsoft/apm/actions/runs/25462413185):
1. The fixture only created an empty .github/ directory. After PR #1165's
explicit-target resolution, that signal alone is no longer sufficient
and 'apm install' exits 2 with 'No harness detected'. Add 'target:
copilot' to the apm.yml written by _write_apm_yml so projects declare
their harness explicitly.
2. The TestPackageRemovedFromManifest class tests orphan-file cleanup
when a package is removed from apm.yml -- a feature that is NOT yet
implemented on main (see commit 45b5569 on a Copilot branch). Skip
the entire class with a clear reason; tests will be re-enabled when
the feature lands.
Net result locally: 7 passed, 3 skipped (was 10 failed in CI).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6e2034c commit a6a2728
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments