-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cristian Le <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 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,30 @@ | ||
name: test-docs | ||
run-name: Documentation tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
doc-test: | ||
name: Sphinx-${{ matrix.builder }} | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental || false }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
builder: [ html ] | ||
include: | ||
# Run default html builder with warnings as error | ||
- builder: html | ||
args: -W | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run sphinx builder ${{ matrix.builder }} | ||
run: | | ||
pip install hatch | ||
hatch run docs:${{ matrix.builder }} ${{ matrix.args }} |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: pre-commit | |
on: | ||
pull_request: | ||
push: | ||
branches: [master] | ||
branches: [main] | ||
|
||
jobs: | ||
pre-commit: | ||
|