Skip to content

Incorporate game (#227) #107

Incorporate game (#227)

Incorporate game (#227) #107

name: Unit tests (Ubuntu 22.04)
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up renderer
run: |
sudo apt-get update
sudo apt-get install -y libegl1-mesa-dev
echo "MUJOCO_GL=egl" >> $GITHUB_ENV
echo "PYOPENGL_PLATFORM=egl" >> $GITHUB_ENV
- name: Install dependencies
run: |
sudo apt-get install ffmpeg
pip install --upgrade pip
pip cache purge
pip install -e ".[dev,examples]"
- name: Test with pytest
run: |
python -m pytest