Skip to content

Move from setup.py to pyproject.toml #66

Move from setup.py to pyproject.toml

Move from setup.py to pyproject.toml #66

Workflow file for this run

name: Dlint CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Run CI
run: |
poetry env use ${{ matrix.python-version }}
poetry install --with dev
poetry run flake8
poetry run flake8 --print-dlint-linters
poetry run pytest --cov