Merge pull request #347 from kchammond/magpie-gpmo-init #82
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: Docs_test | |
on: [push, pull_request] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install sphinx and its dependencies for building docs | |
run: | | |
pip install -r docs/requirements.txt | |
- name: Install simsopt package | |
run: pip install -v . | |
- name: Build docs | |
run: | | |
cd docs | |
sphinx-build -b html source build |