22 lines
528 B
YAML
22 lines
528 B
YAML
name: PyTest
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
pytest:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.12"]
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install
|
|
run: pip install .[test]
|
|
- name: Test with pytest
|
|
run: pytest |