Numpy2 support #298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test documentation build PR | |
on: | |
pull_request: | |
branches: | |
- "**" | |
paths: | |
- 'docsrc/**' | |
- '.github/workflows/deploy_ghpages.yml' | |
- '.github/workflows/docs_PR.yml' | |
- '.github/workflows/examples_PR.yml' | |
jobs: | |
docsbuild: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install furo | |
pip install numpydoc | |
pip install sphinx-gallery | |
pip install sphinxcontrib-httpdomain | |
pip install sphinxcontrib-ghcontributors | |
pip install sphinx-issues | |
pip install sphinx-copybutton | |
pip install sphinx | |
pip install sphinx-design | |
python -m pip install . | |
sudo apt-get update -y | |
sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended | |
- name: Build with Sphinx | |
run: | | |
sphinx-build -E -b html ./docsrc/source ./docs -D plot_gallery=0 |