Commit 51ba40d
Fix CI: tests now pass without .pact/ directory
- Add src/apprentice/ as fallback path in conftest.py for GitHub Actions
- Add cli_models.py shim that re-exports from apprentice.cli.cli_models
(avoids Pydantic strict-mode class identity mismatch)
- Fix _get_cli_module_path() to use main.__module__ for correct patching
2064 passed, 0 failed in both local (.pact/) and CI (no .pact/) modes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 25f4086 commit 51ba40d
3 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
| 744 | + | |
| 745 | + | |
749 | 746 | | |
750 | 747 | | |
751 | 748 | | |
| |||
0 commit comments