Commit 38c4a99
committed
fix: Fix CI integration and examples tests
This commit fixes critical CI workflow issues where tests were referencing
non-existent repository structures and trying to use unpublished packages.
**Problems Fixed:**
1. **Integration test cross-compatibility**:
- Was trying to run `npx hogtyped` and `python -m hogtyped` from test-cross directory
- These commands failed because hogtyped isn't published to npm/PyPI yet
- Fixed by running from packages/js and packages/python with relative paths
2. **Examples tests**:
- Was trying to test examples/node and examples/python which don't have the expected structure
- examples/node has no package.json or lib directory
- examples/python has no schema setup for generation
- Fixed by only testing examples/generated which has proper structure
**Changes Made:**
- Updated test-integration cross-compatibility test to use local packages with relative paths
- Removed test-examples tests for node and python examples that don't exist in expected format
- Kept test for examples/generated which has proper package.json with local dependency
**Testing:**
- Verified cross-compatibility test works locally
- Verified examples/generated test works locally
- All existing tests still pass
This fixes the "CI failing across the board" issue by aligning CI with actual repo structure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 77f5059 commit 38c4a99
1 file changed
+8
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
158 | 162 | | |
159 | 163 | | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
| |||
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 202 | | |
211 | 203 | | |
212 | 204 | | |
| |||
0 commit comments