LIU-469: Remove duplicate test runners on: pull_request
#1760
Workflow file for this run
This file contains hidden or 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 documentation | |
on: | |
push: | |
branches: | |
- master # Only run on pushes to master | |
pull_request: | |
types: [opened, synchronize, reopened] # Run on PRs from any branch to any target | |
jobs: | |
build_docs: | |
name: Build RTD documentation | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
name: Install Python | |
with: | |
python-version: '3.9' | |
- name: Install documentation dependencies | |
run: | | |
pip install -r docs/requirements.txt | |
- name: Build documentation | |
run: | | |
READTHEDOCS=True make -C docs html SPHINXOPTS="-W --keep-going" |