Skip to content

Try running tests without "trick" (micha) #364

Try running tests without "trick" (micha)

Try running tests without "trick" (micha) #364

Workflow file for this run

name: Test website generation
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "tests/**"
- "examples/**"
- "**.json"
- "**.csv"
- "**.html"
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: "pip"
cache-dependency-path: "pyproject.toml"
python-version: "3.11"
- run: pip install "wheel<1"
- run: pip install -e .[docs]
- run: pip freeze --all
- name: Regenerate examples and docs
run: python scripts/regenerate.py --download-typeshed
- name: Check the generated files with pre-commit
uses: pre-commit/action@v3.0.0
- name: Build docs
run: mkdocs build --strict
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: doc-html
path: site