Skip to content

[pre-commit.ci] pre-commit autoupdate #1200

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #1200

Workflow file for this run

name: docs
on:
pull_request:
push:
branches: [master]
jobs:
docs:
name: "Running: ${{ matrix.tox-env-name }}"
strategy:
matrix:
tox-env-name: ["docs", "docs-links"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.12 # Same as RTD
- name: Cache multiple paths
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: docs
- name: install-tox
run: python -m pip install --upgrade tox virtualenv setuptools pip
- name: run ${{ matrix.tox-env-name }}
run: tox -e ${{ matrix.tox-env-name }}
- name: Upload docs artifact
if: ${{ matrix.tox-env-name }} == "docs"
uses: actions/upload-artifact@v4
with:
name: nbqa-docs
path: docs/_build/html