Skip to content

Linux

Linux #79

Workflow file for this run

name: Checks
on:
push:
pull_request:
branches: [ develop ]
jobs:
checks:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- name: Install Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y \
libxkbcommon-x11-0 \
x11-utils \
libyaml-dev \
libegl1-mesa \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-xinerama0 \
libopengl0 \
libxcb-cursor0 \
pulseaudio
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pytest-xvfb
- name: Install Windows dependencies
if: startsWith(matrix.os, 'windows')
run: |
python -m pip install --upgrade pip
python -m pip install -r win_requirements.txt
- name: Test with pytest
run: |
python runtests.py -vv --full-trace