Skip to content

Merge pull request #213 from NeLy-EPFL/dev-v1.0.2-pre.1 #84

Merge pull request #213 from NeLy-EPFL/dev-v1.0.2-pre.1

Merge pull request #213 from NeLy-EPFL/dev-v1.0.2-pre.1 #84

Workflow file for this run

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 "flyvision @ https://github.com/Nely-EPFL/flyvis/archive/refs/heads/main.zip"
pip cache purge
pip install -e ".[dev,examples]"
- name: Test with pytest
run: |
python -m pytest