Skip to content

Commit

Permalink
add build workflow
Browse files Browse the repository at this point in the history
JIRA: CI-462
  • Loading branch information
adamdebek committed Jul 30, 2024
1 parent 46b7ea9 commit bfe277c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
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
sphinx_copybutton==0.5.2
myst-parser==2.0.0
furo==2024.1.29
pygments==2.17.2

0 comments on commit bfe277c

Please sign in to comment.