name: Tests on: push: pull_request: jobs: test: name: Python 3.11 / Windows runs-on: windows-latest env: QT_QPA_PLATFORM: offscreen PYTHONUTF8: "1" steps: - name: Check out repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.11" cache: pip cache-dependency-path: | requirements.txt requirements-dev.txt - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install -r requirements.txt python -m pip install -r requirements-dev.txt - name: Ruff lint run: python -m ruff check app tests main.py - name: Syntax check run: python -m compileall app main.py - name: Unit and GUI tests run: python -m unittest discover -s tests