@@ -84,10 +84,10 @@ jobs:
8484
8585 # Test core imports always work
8686 try:
87- import run
88- from bootstrap import Application
89- from domain.base.exceptions import DomainException
90- from infrastructure.logging.logger import get_logger
87+ import orb. run
88+ from orb. bootstrap import Application
89+ from orb. domain.base.exceptions import DomainException
90+ from orb. infrastructure.logging.logger import get_logger
9191 print('PASS: Core imports successful')
9292 except ImportError as e:
9393 print(f'FAIL: Core import failed: {e}')
@@ -97,20 +97,20 @@ jobs:
9797 - name : Test CLI functionality
9898 run : |
9999 # Test basic CLI works
100- python -m run --help
101- python -m run --version
102-
100+ python -m orb --help
101+ python -m orb --version
102+
103103 # Test commands that should work in all variants
104- python -m run templates list --help || echo "Templates command help failed (expected in some cases)"
104+ python -m orb templates list --help || echo "Templates command help failed (expected in some cases)"
105105
106106 - name : Test CLI Rich formatting
107107 if : matrix.variant.test_cli_rich
108108 run : |
109109 python -c "
110110 try:
111- from cli.formatters import format_generic_table
112- from cli.console import get_console
113-
111+ from orb. cli.formatters import format_generic_table
112+ from orb. cli.console import get_console
113+
114114 # Test Rich table formatting
115115 test_data = [{'id': '1', 'name': 'test'}]
116116 result = format_generic_table(test_data, 'Test Items')
@@ -137,9 +137,9 @@ jobs:
137137 print('PASS: Rich correctly not available in minimal variant')
138138
139139 # Test CLI still works with fallbacks
140- from cli.formatters import format_generic_table
141- from cli.console import get_console
142-
140+ from orb. cli.formatters import format_generic_table
141+ from orb. cli.console import get_console
142+
143143 test_data = [{'id': '1', 'name': 'test'}]
144144 result = format_generic_table(test_data, 'Test Items')
145145 print('PASS: CLI fallback formatting works')
@@ -154,7 +154,7 @@ jobs:
154154 run : |
155155 python -c "
156156 try:
157- from api.server import create_fastapi_app
157+ from orb. api.server import create_fastapi_app
158158 print('PASS: FastAPI imports successful')
159159
160160 # Test app creation (basic test)
@@ -177,7 +177,7 @@ jobs:
177177
178178 # Test that API server creation fails gracefully
179179 try:
180- from api.server import create_fastapi_app
180+ from orb. api.server import create_fastapi_app
181181 try:
182182 create_fastapi_app(None)
183183 print('FAIL: API should have failed without FastAPI')
@@ -197,7 +197,7 @@ jobs:
197197 run : |
198198 python -c "
199199 try:
200- from monitoring.health import HealthCheck
200+ from orb. monitoring.health import HealthCheck
201201 print('PASS: Monitoring imports successful')
202202
203203 # Test basic monitoring functionality
@@ -225,7 +225,7 @@ jobs:
225225
226226 # Monitoring should still import but with limited functionality
227227 try:
228- from monitoring.health import HealthCheck
228+ from orb. monitoring.health import HealthCheck
229229 print('PASS: Monitoring module imports with limited functionality')
230230 except ImportError as e:
231231 print(f'FAIL: Monitoring module should import even without optional deps: {e}')
@@ -262,7 +262,7 @@ jobs:
262262 # Test CLI without Rich
263263 with patch.dict(sys.modules, {'rich': None, 'rich.console': None, 'rich.table': None}):
264264 try:
265- from cli.console import get_console, print_success
265+ from orb. cli.console import get_console, print_success
266266 console = get_console()
267267 print('PASS: CLI console works without Rich')
268268 except Exception as e:
@@ -272,7 +272,7 @@ jobs:
272272 # Test API without FastAPI
273273 with patch.dict(sys.modules, {'fastapi': None}):
274274 try:
275- from api.server import create_fastapi_app
275+ from orb. api.server import create_fastapi_app
276276 try:
277277 create_fastapi_app(None)
278278 print('FAIL: API should fail without FastAPI')
@@ -322,13 +322,13 @@ jobs:
322322 print(f'PASS: {dep} correctly not available')
323323
324324 # Test that core functionality still works
325- import run
326- from bootstrap import Application
327- from domain.base.exceptions import DomainException
325+ import orb. run
326+ from orb. bootstrap import Application
327+ from orb. domain.base.exceptions import DomainException
328328 print('PASS: Core functionality works without optional deps')
329-
329+
330330 # Test CLI with fallbacks
331- from cli.console import get_console
331+ from orb. cli.console import get_console
332332 console = get_console()
333333 console.print('Test message')
334334 print('PASS: CLI works with fallbacks')
@@ -360,7 +360,7 @@ jobs:
360360
361361 # Test API error message
362362 try:
363- from api.server import create_fastapi_app
363+ from orb. api.server import create_fastapi_app
364364 try:
365365 create_fastapi_app(None)
366366 print('FAIL: API should have failed')
@@ -404,10 +404,10 @@ jobs:
404404 # Test all functionality works together
405405 python -c "
406406 # Test all imports work
407- from cli.formatters import format_generic_table
408- from cli.console import get_console
409- from api.server import create_fastapi_app
410- from monitoring.health import HealthCheck
407+ from orb. cli.formatters import format_generic_table
408+ from orb. cli.console import get_console
409+ from orb. api.server import create_fastapi_app
410+ from orb. monitoring.health import HealthCheck
411411
412412 print('PASS: All modules import successfully')
413413
@@ -426,8 +426,8 @@ jobs:
426426
427427 - name : Test CLI commands
428428 run : |
429- python -m run --help
430- python -m run --version
429+ python -m orb --help
430+ python -m orb --version
431431 echo "PASS: CLI commands work"
432432
433433 summary :
0 commit comments