-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GA: First step towards building docs via CI [#12]
- Loading branch information
1 parent
b1a64b4
commit 112d373
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
on: [push, pull_request] | ||
|
||
name: "Build and Publish Documentation" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check: | ||
if: "! contains(github.event.head_commit.message, '[ci skip]')" | ||
|
||
timeout-minutes: 10 | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install sphinx numpydoc sphinx-autobuild sphinx-rtd-theme | ||
- name: Install this Python package | ||
run: | | ||
pip install .[pydivsufsort] | ||
- name: Session information | ||
run: | | ||
python --version | ||
- name: Build documentation | ||
run: | | ||
cd docs | ||
make html |