Skip to content

Release 2.4

Release 2.4 #11

name: 'RELEASE: Run doctests'
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- stable
jobs:
readme_doctest:
name: on readme
runs-on: 'ubuntu-latest'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Check out repo
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
persist-credentials: false
- name: Install Python
uses: actions/setup-python@28f2168f4d98ee0445e3c6321f6e6616c83dd5ec
with:
python-version: '3.13'
cache: 'pip'
cache-dependency-path: requirements-ci.txt
- name: Install CI requirements
run: pip install -r requirements-ci.txt
- name: Build docs
run: |
cd doc
make html
- name: Run README doctests
run: pytest -k readme --doctest-glob="README.md"