Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add build workflow #195

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# vim:sw=2:ts=2
# build html version of docs
name: build

# on events
on:
pull_request:
branches:
- master
- 'feature/*'

jobs:
build:
runs-on: ubuntu-latest
name: build

steps:
- uses: actions/checkout@v4
- uses: sphinx-doc/github-problem-matcher@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Build docs
run: |
make clean html SPHINXOPTS="-W --keep-going -n"
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sphinx==7.2.6
adamdebek marked this conversation as resolved.
Show resolved Hide resolved
sphinx_copybutton==0.5.2
myst-parser==2.0.0
furo==2024.1.29
pygments==2.17.2
Loading