Skip to content

Commit dd5cf88

Browse files
authored
Update tests.yml
1 parent 8c421aa commit dd5cf88

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ['3.10', '3.11']
16+
python-version: ["3.10", "3.11"]
1717

1818
steps:
1919
- name: Checkout
@@ -23,13 +23,16 @@ jobs:
2323
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
cache: 'pip'
27-
cache-dependency-path: 'requirements.txt' # <-- this fixes the error
26+
cache: "pip"
27+
cache-dependency-path: |
28+
requirements.txt
29+
pyproject.toml
2830
2931
- name: Install dependencies
3032
run: |
3133
python -m pip install --upgrade pip
3234
pip install -r requirements.txt
35+
pip install -e .
3336
3437
- name: Run unit tests
3538
run: |
@@ -38,3 +41,12 @@ jobs:
3841
- name: Quickstart smoke (scene → nudge → plan → safety)
3942
run: |
4043
python examples/quickstart.py --scene sim/scenes/basic_room.json --verbose
44+
45+
- name: Import benchmark catalog smoke
46+
run: |
47+
python - <<'PY'
48+
from ohip_bench.scenarios import make_core_catalog
49+
catalog = make_core_catalog()
50+
assert len(catalog) >= 3
51+
print("benchmark scenarios:", [scenario.scenario_id for scenario in catalog])
52+
PY

0 commit comments

Comments
 (0)