Test switching to force actuators. #65
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
# This workflow tests tensorflow installation and runs a policy network. | |
name: tf | |
on: | |
push: | |
branches: [ "main", "dev" ] | |
pull_request: | |
branches: [ "main", "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
conda install -y python=3.10 pip ipython cudatoolkit=11.8.0 | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install .[tf] | |
- name: Test with pytest | |
run: | | |
export MUJOCO_GL="glfw" | |
pytest tests/test-tf.py |