Add noxfile and workflow to test docsite PRs (#1794)

* add noxfile with mkdocs build session

* add nox build check

* include reusable nox in ci workflow
This commit is contained in:
Don Naro
2024-03-27 14:29:38 -04:00
committed by GitHub
parent 07b8120788
commit dc0e86b823
3 changed files with 48 additions and 0 deletions
+2
View File
@@ -99,3 +99,5 @@ jobs:
echo "${no_log}"
exit 1
fi
nox-sessions:
uses: ./.github/workflows/reusable-nox.yml
+26
View File
@@ -0,0 +1,26 @@
---
name: nox
"on":
workflow_call:
jobs:
nox:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- session: build
python-versions: "3.11"
name: "Run nox ${{ matrix.session }} session"
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup nox
uses: wntrblm/[email protected]
with:
python-versions: "${{ matrix.python-versions }}"
- name: "Run nox -s ${{ matrix.session }}"
run: |
nox -s "${{ matrix.session }}"