Skip to content

Commit 62b6680

Browse files
committed
ci
1 parent a2f4ee8 commit 62b6680

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

.coverage

-80 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,29 @@ jobs:
2626
- name: Install dependencies
2727
run: python -m pip install --upgrade pip build
2828

29-
- name: Install package and test deps
30-
run: python -m pip install -e ".[testing]"
29+
- name: Install package and test deps (install inner package dir)
30+
run: |
31+
python -m pip install --upgrade pip
32+
# install the package directory explicitly (editable) and extras for testing
33+
python -m pip install -e ./GabesPythonToolBox[testing]
34+
35+
- name: Debug repository layout (helpful if imports still fail)
36+
run: |
37+
python - <<'PY'
38+
import sys, os
39+
print("cwd:", os.getcwd())
40+
print("PYTHONPATH env:", os.environ.get("PYTHONPATH"))
41+
print("sys.path:")
42+
for p in sys.path:
43+
print(" ", p)
44+
print("\nTop-level files and dirs:")
45+
print(os.listdir("."))
46+
try:
47+
import GabesPythonToolBox
48+
print("Imported GabesPythonToolBox from:", getattr(GabesPythonToolBox, "__file__", repr(GabesPythonToolBox)))
49+
except Exception as e:
50+
print("Importing GabesPythonToolBox failed:", type(e).__name__, e)
51+
PY
3152

3253
- name: Ensure repo on PYTHONPATH for tests
3354
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)