Skip to content

Make release

Make release #52

Workflow file for this run

name: Unittests
# Kivy testing set up at Linux is overcomplicated, it requires
# installation of many packages, manual launch of X server.
# That's why I'm running tests on Windows.
on: [push, pull_request]
env:
KIVY_GL_BACKEND: 'angle_sdl2'
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install kivy-deps.angle
- name: Test with flake8
run: python -m flake8 .
- name: Test with pytest
run: python -m pytest .