Lazily import locomotion envs to prevent ModuleNotFoundError when labmaze is not installed #210
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |