Skip to content

Commit

Permalink
Run tests on linux too
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsik committed Sep 19, 2024
1 parent 3285dd0 commit 6e10a8b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 6e10a8b

Please sign in to comment.