Skip to content

Migrate packaging to pyproject.toml #97

Migrate packaging to pyproject.toml

Migrate packaging to pyproject.toml #97

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev] # installs package in editable mode with dev dependencies
- name: Check imports with isort
run: isort . --check-only
- name: Check formatting with black
run: black . --check
- name: Lint with flake8
run: flake8 .
- name: Test with pytest
run: pytest