Skip to content

update references to FlyVision #92

update references to FlyVision

update references to FlyVision #92

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