Skip to content

Merge pull request #2 from robandpdx-org/convert-facebook-home-robot-… #3

Merge pull request #2 from robandpdx-org/convert-facebook-home-robot-…

Merge pull request #2 from robandpdx-org/convert-facebook-home-robot-… #3

Workflow file for this run

name: facebookresearch/home-robot/main
on:
push:
branches:
- main
jobs:
lint:

Check failure on line 7 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Running precommit checks
run: |
pip install pre-commit
pre-commit install-hooks
pre-commit run --all-files
home_robot:
runs-on: ubuntu-latest
env:
FPS_THRESHOLD: 900
steps:
- uses: actions/[email protected]
- name: Install system deps
run: |
sudo apt-get update || true
sudo apt-get install -y --no-install-recommends \
build-essential \
vim \
ca-certificates \
python-dev autotools-dev libicu-dev libbz2-dev \
libboost-all-dev || true
- uses: "./.github/actions/conda_env_setup"
- name: Install libraries and run tests
run: |
conda activate ~/env_home_robot
pip install -e src/home_robot
cd tests/home_robot
pytest .
home_robot_sim:
runs-on: ubuntu-latest
env:
FPS_THRESHOLD: 900
steps:
- uses: actions/[email protected]
- name: Install system deps
run: |
sudo apt-get update || true
sudo apt-get install -y --no-install-recommends \
build-essential \
vim \
ca-certificates \
libbullet-dev \
libjpeg-dev \
libglm-dev \
libegl1-mesa-dev \
xorg-dev \
freeglut3-dev \
libhdf5-dev || true
- name: Sync submodules
run: git submodule sync && git submodule update --init src/third_party/habitat-lab
- uses: "./.github/actions/conda_env_setup"
- name: Install home-robot-sim dependencies & download data
run: |
conda activate ~/env_home_robot
mamba env update -f src/home_robot_sim/environment.yml
pip install -e src/third_party/habitat-lab
python -m habitat_sim.utils.datasets_download --uids mp3d_example_scene --data-path data/
mkdir -p tests/home_robot_sim/data/scene_datasets/mp3d_example/mp3d
mv data/scene_datasets/mp3d_example/17DRP5sb8fy tests/home_robot_sim/data/scene_datasets/mp3d_example/mp3d
- name: Install libraries and run tests
run: |
conda activate ~/env_home_robot
pip install -e src/home_robot
pip install -e src/home_robot_sim
cd tests/home_robot_sim
pytest .