| 1 |
name: CI |
| 2 |
on: [push, pull_request] |
| 3 |
jobs: |
| 4 |
build: |
| 5 |
|
| 6 |
runs-on: ${{ matrix.os }} |
| 7 |
strategy: |
| 8 |
matrix: |
| 9 |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
| 10 |
os: [ubuntu-latest, macOS-latest, windows-latest] |
| 11 |
|
| 12 |
steps: |
| 13 |
- uses: actions/checkout@v6 |
| 14 |
- name: Set up Python ${{ matrix.python-version }} |
| 15 |
uses: actions/setup-python@v6 |
| 16 |
with: |
| 17 |
python-version: ${{ matrix.python-version }} |
| 18 |
- name: Install dependencies |
| 19 |
run: | |
| 20 |
python -m pip install . |
| 21 |
python -m pip install pytest |
| 22 |
- name: Test with pytest |
| 23 |
run: | |
| 24 |
pytest |