BLD: fix failing CI test runs on macos #93
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: Build Docs | |
on: | |
push: | |
branches: [main, "*postfix"] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_docs: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install xtgeo | |
run: | | |
pip install -U pip | |
pip install ".[docs]" | |
- name: Build docs | |
run: sphinx-build -W -b html docs build/docs/html |