Skip to content

Release v0.6.0: generative latent decoder — generate the future, not … #49

Release v0.6.0: generative latent decoder — generate the future, not …

Release v0.6.0: generative latent decoder — generate the future, not … #49

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
# ROS-free, GPU-free unit tests for the adapter SDK / bench. Fast feedback,
# and proof that adapters work without a ROS install (a core design goal).
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test deps
run: python -m pip install --upgrade pip numpy pytest
- name: Run adapter/bench/wire/server unit tests (no ROS)
working-directory: world_model_py
run: >-
python -m pytest
test/test_adapters.py test/test_jepa.py test/test_bench.py
test/test_metrics.py test/test_anomaly.py test/test_registry.py
test/test_wire.py test/test_remote_server.py test/test_planning.py
test/test_play.py test/test_dynamics.py test/test_decoder.py -q
# Full ROS 2 Jazzy build + colcon test inside the official container.
colcon:
runs-on: ubuntu-latest
container:
image: ros:jazzy-ros-base
steps:
- uses: actions/checkout@v4
- name: Install dependencies via rosdep
shell: bash
run: |
apt-get update
# ffmpeg via apt; pyarrow has no noble apt package so install via pip.
# Both are skipped in rosdep (not resolvable rosdep keys).
apt-get install -y ffmpeg python3-pip
pip install --break-system-packages pyarrow
rosdep update
rosdep install --from-paths . --ignore-src -y \
--skip-keys "python3-pyarrow ffmpeg"
- name: colcon build
shell: bash
run: |
source /opt/ros/jazzy/setup.bash
colcon build
- name: colcon test
shell: bash
run: |
source /opt/ros/jazzy/setup.bash
source install/setup.bash
colcon test --packages-select world_model_py world_model_msgs world_model_bringup world_model_viz world_model_datasets world_model_nav2
colcon test-result --verbose