Debug CI - print import diagnostics
Some checks failed
CI / test (push) Failing after 12s

This commit is contained in:
2026-03-22 11:42:32 +00:00
parent b5259d11c4
commit c89cf5ba04

View File

@@ -15,7 +15,23 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install - name: Debug imports
run: pip install -e . run: |
pip install -e .
python -c "
import sys
print('Python path:')
for p in sys.path:
print(f' {p}')
print()
print('Trying imports...')
try:
from snip import cli
print('snip.cli imported OK')
except Exception as e:
print(f'snip.cli import failed: {e}')
import traceback
traceback.print_exc()
"
- name: Test - name: Test
run: pip install pytest && pytest tests/ -v run: pip install pytest && pytest tests/ -v