Skip to content

Commit

Permalink
Issue #194: Check that docs build on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 committed Sep 30, 2024
1 parent 0661f89 commit ed50428
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/commit_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,24 @@ jobs:
excludeTitle: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }}
check-doc-build:
name: Test Documentation Build
runs-on: ubuntu-latest
steps:
- uses: pandoc/actions/setup@main
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Mock Basilisk
run: |
cp docs/sitecustomize.py $(python -c 'import site; print(site.getsitepackages()[0])')/sitecustomize.py
- name: Install dependencies
run: |
pip install -e '.[docs,rllib]'
# skip finish install steps
- name: Sphinx build
run: |
cd docs
make html
cd ..

0 comments on commit ed50428

Please sign in to comment.