Skip to content

Lazily import locomotion envs to prevent ModuleNotFoundError when labmaze is not installed #210

Lazily import locomotion envs to prevent ModuleNotFoundError when labmaze is not installed

Lazily import locomotion envs to prevent ModuleNotFoundError when labmaze is not installed #210

name: build
on: [pull_request, push]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
optional-test-meltingpot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Melting Pot
- run: |
docker build -f bin/meltingpot.Dockerfile \
--build-arg PYTHON_VERSION='3.11' \
--tag shimmy-meltingpot-docker .
- name: Run meltingpot tests
run: docker run shimmy-meltingpot-docker pytest tests/test_meltingpot.py