Skip to content

chore(deps-dev): bump mkdocstrings from 0.23.0 to 0.26.1 #941

chore(deps-dev): bump mkdocstrings from 0.23.0 to 0.26.1

chore(deps-dev): bump mkdocstrings from 0.23.0 to 0.26.1 #941

Workflow file for this run

name: "Continuous integration"
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: [v*]
jobs:
test:
name: "Test Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: ubuntu-22.04
python-version: "3.7"
- os: windows-latest
python-version: "3.7"
- os: macos-13
python-version: "3.7"
permissions:
id-token: write
steps:
- name: "Check out repository"
uses: actions/checkout@v4
- name: "Set up Python and development dependencies"
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}
- name: "Run tests"
run: poetry run poe test-ci
- name: "Upload coverage report"
uses: codecov/codecov-action@v5
with:
use_oidc: true
check:
name: "Lint and type checks"
runs-on: ubuntu-latest
steps:
- name: "Check out repository"
uses: actions/checkout@v4
- name: "Set up Python and development dependencies"
uses: ./.github/actions/setup
- name: "Check types, lints, and formatting"
run: poetry run poe check-ci
build:
name: Build assets and deploy on tags
runs-on: ubuntu-latest
needs: [test, check]
steps:
- name: "Check out repository"
uses: actions/checkout@v4
- name: "Set up Python and development dependencies"
uses: ./.github/actions/setup
- name: "Build artifacts"
run: poetry run poe build-ci
- name: "Deploy to PyPI and GitHub Pages"
if: startsWith(github.ref, 'refs/tags/v')
env:
USER_NAME: ${{ github.actor }}
USER_ID: ${{ github.event.sender.id }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
git config user.name "$USER_NAME (GitHub Actions)"
git config user.email "[email protected]"
poetry config pypi-token.pypi $PYPI_TOKEN
poetry publish
poetry run mkdocs gh-deploy --force