-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change github actions to catch build errors (#51)
* chore: change github actions to catch build errors * fix: broken link
- Loading branch information
1 parent
b856cd1
commit 9cb4529
Showing
2 changed files
with
36 additions
and
1 deletion.
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,35 @@ | ||
name: Manual Pre Checks | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
linkcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- name: Install Dependencies | ||
run: pip install -r requirements.txt | ||
- name: Clean Previous Builds | ||
run: make linkcheck | ||
build-docs: | ||
runs-on: ubuntu-latest | ||
needs: linkcheck | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.x | ||
- name: Install Dependencies | ||
run: pip install -r requirements.txt | ||
- name: Clean Previous Builds | ||
run: make clean | ||
- name: Build Documentation | ||
run: make html SPHINXOPTS="-W" |
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