tenseleyflow/sway / 76c9644

Browse files

ci: slow lane installs [hf,semsim] so test_cluster_kl_e2e runs

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
76c96442932b7822ec8323da3491285f78cc7e2e
Parents
17cda3f
Tree
9e836b4

1 changed file

StatusFile+-
M .github/workflows/ci.yml 6 2
.github/workflows/ci.ymlmodified
@@ -120,8 +120,12 @@ jobs:
120120
       - name: Create venv
121121
         run: uv venv --python 3.11 .venv
122122
 
123
-      - name: Install dev + hf extras
124
-        run: uv pip install -e ".[hf]" --group dev
123
+      # ``[semsim]`` pulls scikit-learn + sentence-transformers; without
124
+      # it, test_cluster_kl_e2e.py (S16) silently skips with
125
+      # "No module named 'sklearn'". The cluster_kl probe is a shipped
126
+      # primitive — its integration test belongs in the slow lane.
127
+      - name: Install dev + hf + semsim extras
128
+        run: uv pip install -e ".[hf,semsim]" --group dev
125129
 
126130
       - name: pytest (slow + online)
127131
         run: uv run --no-sync pytest tests/integration -m "slow or online" --no-header -v