Skip to content

Fix CI

Fix CI #199

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
env:
MUJOCO_GL: osmesa
DISPLAY: ":0"
steps:
- uses: actions/checkout@v4
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: test-env
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsm6 libxext6 python3-opengl
sudo apt install -y libosmesa6
pip install --upgrade pip
pip install -e .
pip install pytest
- name: Test with pytest
run: |
pytest