Skip to content

Run tests on linux too #151

Run tests on linux too

Run tests on linux too #151

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")

Check failure on line 24 in .github/workflows/checks.yml

View workflow run for this annotation

GitHub Actions / Checks

Invalid workflow file

The workflow is not valid. .github/workflows/checks.yml (Line: 24, Col: 13): Unexpected symbol: '"ubuntu"'. Located at position 23 within expression: startsWith(matrix.os, "ubuntu") .github/workflows/checks.yml (Line: 31, Col: 13): Unexpected symbol: '"windows"'. Located at position 23 within expression: startsWith(matrix.os, "windows")
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