File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 - name : Install Hatch
7979 uses : pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install
8080
81- - name : Debug pre-commit cache
82- run : |
83- echo "=== db.db repos ==="
84- sqlite3 ~/.cache/pre-commit/db.db "SELECT * FROM repos;" 2>/dev/null || echo "no db.db or sqlite3"
85- echo ""
86- # Find the ruff-pre-commit repo dir from db.db
87- RUFF_DIR=$(sqlite3 ~/.cache/pre-commit/db.db "SELECT path FROM repos WHERE repo LIKE '%ruff%';" 2>/dev/null)
88- echo "=== Ruff hook dir: $RUFF_DIR ==="
89- ls -la "$RUFF_DIR/" 2>/dev/null | head -10
90- echo "=== Ruff venv contents ==="
91- ls -la "$RUFF_DIR/py_env-python3.10/" 2>/dev/null | head -10
92- echo "=== pyvenv.cfg ==="
93- cat "$RUFF_DIR/py_env-python3.10/pyvenv.cfg" 2>/dev/null
94- echo "=== Python binary check ==="
95- ls -la "$RUFF_DIR/py_env-python3.10/bin/python"* 2>/dev/null
96- file "$RUFF_DIR/py_env-python3.10/bin/python" 2>/dev/null
97- echo "=== Can the venv python run? ==="
98- "$RUFF_DIR/py_env-python3.10/bin/python" --version 2>&1 || echo "FAILED"
99- echo "=== Installed packages in venv ==="
100- "$RUFF_DIR/py_env-python3.10/bin/pip" list 2>&1 | head -10 || echo "pip list failed"
101-
10281 - name : Run Code Quality
10382 run : hatch -v run code-quality
10483
Original file line number Diff line number Diff line change @@ -84,17 +84,10 @@ jobs:
8484 - name : Install Hatch
8585 uses : pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install
8686
87- - name : Install Python versions for test matrix
88- run : uv python install 3.10 3.11 3.12 3.13
89-
90- - name : Create all hatch environments (populates uv cache)
87+ - name : Create hatch environments (populates uv cache)
9188 run : |
9289 set -euo pipefail
9390 hatch env create default
94- hatch env create test.py3.10
95- hatch env create test.py3.11
96- hatch env create test.py3.12
97- hatch env create test.py3.13
9891 hatch env create verify
9992
10093 - name : Warm pre-commit cache
You can’t perform that action at this time.
0 commit comments