Run tests on linux too #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
Check failure on line 24 in .github/workflows/checks.yml GitHub Actions / ChecksInvalid workflow file
|
||
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 |