diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b9c82e9a5..fc2274e7b 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: | + apt-get update && apt-get install libgl1 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