Skip to content

Move sphinx to dev deps #4

Move sphinx to dev deps

Move sphinx to dev deps #4

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install project
run: poetry install --no-interaction
- name: Test with pytest
run: poetry run pytest -v tests
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
- name: Install project
run: poetry install --no-interaction
- name: Lint with Ruff
run: poetry run ruff check --output-format=github
- name: Check format with Ruff
run: poetry run ruff format --check