Skip to content

feat: add bind_on_update and unbind_on_update functions for all w… #16

feat: add bind_on_update and unbind_on_update functions for all w…

feat: add bind_on_update and unbind_on_update functions for all w… #16

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python package
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
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 dependencies
run: |
pip3 install --upgrade pip
pip3 install pylint
pip3 install pytest
pip3 install .
- name: Lint with pylint
run: pylint $(git ls-files "*.py")
- name: Test with pytest
run: pytest