Skip to content

Add CI matrix and PyPI trusted-publishing workflows #1

Add CI matrix and PyPI trusted-publishing workflows

Add CI matrix and PyPI trusted-publishing workflows #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -e .
- run: python -m unittest discover -s tests -v
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.14'
- run: python -m pip install build twine
- run: python -m build
- run: python -m twine check dist/*