Skip to content

test: add Python tests and example #212

test: add Python tests and example

test: add Python tests and example #212

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- name: 'Disable `autocrlf` in Git'
run: git config --global core.autocrlf false
- 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: |
pip install --upgrade pip
pip install poetry tox
- name: Test with tox
run: |
tox run