diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b9c82e9a5..f80ca078c 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -7,7 +7,10 @@ on: jobs: checks: - runs-on: windows-latest + strategy: + matrix: + os: [windows-latest, ubuntu-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -17,11 +20,19 @@ jobs: python-version: 3.12 cache: pip - - name: Install dependencies + - name: Install Linux dependencies + if: startsWith(matrix.os, 'ubuntu') run: | + sudo apt-get update && sudo apt-get install libegl1 libgl1-mesa-dev -y python -m pip install --upgrade pip pip install -r requirements.txt + - name: Install Windows dependencies + if: startsWith(matrix.os, 'windows') + run: | + python -m pip install --upgrade pip + pip install -r win_requirements.txt + - name: Test with pytest run: | python runtests.py -vv --full-trace