@@ -14,36 +14,23 @@ jobs:
1414 python-version : [3.14]
1515 steps :
1616 - uses : actions/checkout@v4
17+
1718 - name : Set up Python ${{ matrix.python-version }}
1819 uses : actions/setup-python@v4
1920 with :
2021 python-version : ${{ matrix.python-version }}
22+
2123 - name : Cache pip
2224 uses : actions/cache@v4
2325 with :
2426 path : ~/.cache/pip
2527 key : ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
26- - name : Install dependencies
27- run : python -m pip install --upgrade pip build
28- - name : Install package and test deps
29- run : python -m pip install -e ".[testing]"
30- - name : Install package and test deps (verbose)
31- run : |
32- python -m pip install --upgrade pip setuptools wheel -v
33- # verbose install, capture output
34- python -m pip install -v -e ./GabesPythonToolBox[testing] || python -m pip install -v -e ./GabesPythonToolBox || true
35- echo "=== pip list ==="
36- python -m pip list
37- echo "=== pip show package ==="
38- python -m pip show GabesPythonToolBox || python -m pip show GabesPythonToolBox || true
39- echo "=== installed modules (top-level) ==="
40- python - <<'PY'
41- import pkgutil, sys
42- mods = sorted(x.name for x in pkgutil.iter_modules())
43- print("modules count:", len(mods))
44- for m in mods[:200] :
45- print(m)
46- PY
28+
29+ - name : Install build tools
30+ run : python -m pip install --upgrade pip build setuptools wheel
31+
32+ - name : Install package and test deps (editable)
33+ run : python -m pip install -e ./GabesPythonToolBox[testing]
4734
4835 - name : Debug import and sys.path
4936 run : |
6653
6754 - name : Run tests
6855 run : pytest -q --cov=GabesPythonToolBox --cov-report=xml
56+
6957 - name : Upload coverage to artifact
7058 uses : actions/upload-artifact@v4
7159 with :
0 commit comments