Skip to content

Migrate CI to GitHub Actions (#21) #22

Migrate CI to GitHub Actions (#21)

Migrate CI to GitHub Actions (#21) #22

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
jobs:
Tests:
name: ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install --with dev
- name: Test
run: poetry run pytest -v