Skip to content

Commit bdd2375

Browse files
authored
ci: add GitHub Actions to run tests + smoke quickstart (py3.10/3.11)
1 parent 784c9c3 commit bdd2375

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/tests.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ['3.10', '3.11']
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
cache: 'pip'
27+
28+
- name: Install test/deps
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install pytest pyyaml
32+
33+
- name: Run unit tests
34+
run: |
35+
pytest -q
36+
37+
- name: Quickstart smoke (scene → nudge → plan → safety)
38+
run: |
39+
python examples/quickstart.py --scene sim/scenes/basic_room.json --verbose

0 commit comments

Comments
 (0)