Skip to content

add CI tests

add CI tests #1

Workflow file for this run

name: Tests
on:
push:
branches: [master, main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install "poetry==2.3.4"
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Run tests
run: poetry run pytest