diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5ca2098..a77aae6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,7 +15,23 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Install - run: pip install -e . + - name: Debug imports + 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 run: pip install pytest && pytest tests/ -v \ No newline at end of file