Skip to content

Commit 32e3f4f

Browse files
committed
CI
1 parent db63bae commit 32e3f4f

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,24 @@ jobs:
4444
# install from repo root so pyproject.toml optional deps are available
4545
run: python -m pip install -e ".[testing]"
4646

47-
- name: Ensure repo on PYTHONPATH for tests (optional)
47+
- name: Ensure repo on PYTHONPATH (optional)
4848
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV
4949

50+
- name: Debug Python path and import package
51+
run: |
52+
python - <<'PY'
53+
import sys, importlib
54+
print("=== sys.path ===")
55+
for p in sys.path:
56+
print(" -", p)
57+
try:
58+
mod = importlib.import_module("GabesPythonToolBox")
59+
print("Imported GabesPythonToolBox from:", getattr(mod, "__file__", "<built-in>"))
60+
except Exception as e:
61+
print("Import failed:", repr(e))
62+
raise
63+
PY
64+
5065
- name: Run tests with coverage
5166
run: pytest -q --cov=GabesPythonToolBox --cov-report=xml
5267

ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Updates
22

3+
## 1.10.1 Lib structure update
4+
5+
### braking changes
6+
7+
- everything has moved, imports shood be the same
8+
39
## 1.10.0 Lib update
410

511
### braking changes

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ testing = [
2727
"Repository" = "https://github.com/NorgeSkiFollo/GabesPythonToolBox.git"
2828

2929
[tool.setuptools.packages.find]
30-
where = ["."]
31-
exclude = ["tests*", "docs*"]
30+
where = ["GabesPythonToolBox"]
31+
exclude = ["tests*", "Tests*", "docs*"]
3232

3333
[tool.black]
3434
line-length = 88

0 commit comments

Comments
 (0)