Skip to content

ci: add GitHub Actions to run tests + smoke quickstart (py3.10/3.11) #1

ci: add GitHub Actions to run tests + smoke quickstart (py3.10/3.11)

ci: add GitHub Actions to run tests + smoke quickstart (py3.10/3.11) #1

Workflow file for this run

name: tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install test/deps
run: |
python -m pip install --upgrade pip
pip install pytest pyyaml
- name: Run unit tests
run: |
pytest -q
- name: Quickstart smoke (scene → nudge → plan → safety)
run: |
python examples/quickstart.py --scene sim/scenes/basic_room.json --verbose