Skip to content

Update pdoc requirement from ~=14.6.1 to ~=15.0.0 #412

Update pdoc requirement from ~=14.6.1 to ~=15.0.0

Update pdoc requirement from ~=14.6.1 to ~=15.0.0 #412

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types: [published]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", 3.11, 3.12, "3.13.0-alpha.5"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Checkout Repo
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Test
run: |
pip install .
pip uninstall -y sain
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Format
run: |
pip install nox
nox -s reformat
test_builtins:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Pytest
run: |
pip install nox
nox -s pytest
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Linting
run: |
pip install nox
nox -s lint
type_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Type Check
run: |
pip install nox
nox -s type_check
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build
run: |
pip install nox
nox -s pdoc
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: docs
path: ./docs
if-no-files-found: error
deploy:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.7.1
- name: Publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPY_TOKEN }}
poetry publish --build