Skip to content

Add missing changelog category #138

Add missing changelog category

Add missing changelog category #138

Workflow file for this run

name: Test and lint
on:
push:
branches: [main]
pull_request:
branches:
- "**"
env:
PYTHON_VERSION: "3.9"
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
["pypy-3.9", "pypy-3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
pip install tox tox-gh-actions
- name: Run tests with tox
run: tox
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry"
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run linters
run: poetry run make lint
test-docs:
name: Test documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry"
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run linters
run: poetry run make docs