Alina Lozovskaya
commited on
Commit
·
b4d69bc
1
Parent(s):
1b189a2
fix(ci): run tests from .venv instead of uv run
Browse files
.github/workflows/tests.yml
CHANGED
|
@@ -60,15 +60,15 @@ jobs:
|
|
| 60 |
# Prefetch HF dataset to avoid download during test collection
|
| 61 |
- name: Prefetch HF dataset
|
| 62 |
run: |
|
| 63 |
-
|
| 64 |
from huggingface_hub import snapshot_download
|
| 65 |
snapshot_download(
|
| 66 |
repo_id="pollen-robotics/reachy-mini-emotions-library",
|
| 67 |
repo_type="dataset",
|
| 68 |
etag_timeout=120,
|
| 69 |
-
max_workers=4
|
| 70 |
)
|
| 71 |
PY
|
| 72 |
|
| 73 |
- name: Run tests
|
| 74 |
-
run:
|
|
|
|
| 60 |
# Prefetch HF dataset to avoid download during test collection
|
| 61 |
- name: Prefetch HF dataset
|
| 62 |
run: |
|
| 63 |
+
.venv/bin/python - <<'PY'
|
| 64 |
from huggingface_hub import snapshot_download
|
| 65 |
snapshot_download(
|
| 66 |
repo_id="pollen-robotics/reachy-mini-emotions-library",
|
| 67 |
repo_type="dataset",
|
| 68 |
etag_timeout=120,
|
| 69 |
+
max_workers=4,
|
| 70 |
)
|
| 71 |
PY
|
| 72 |
|
| 73 |
- name: Run tests
|
| 74 |
+
run: .venv/bin/pytest -q
|