Lazily import locomotion envs to prevent ModuleNotFoundError when lab… #211
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-bsuite: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Behavior Suite | |
- run: | | |
docker build -f bin/bsuite.Dockerfile \ | |
--build-arg PYTHON_VERSION='3.10' \ | |
--tag shimmy-bsuite-docker . | |
- name: Run bsuite tests | |
run: docker run shimmy-bsuite-docker pytest tests/test_bsuite.py |