Skip to content

Commit b60ced4

Browse files
committed
Add a docs build stage to the tests workflow
1 parent 3358439 commit b60ced4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/run_tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313
jobs:
1414
testing:
1515
runs-on: ubuntu-latest
16+
name: Testing
1617
strategy:
1718
matrix:
1819
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
@@ -37,3 +38,23 @@ jobs:
3738
3839
- name: Coverage report
3940
uses: codecov/codecov-action@v1
41+
42+
docs:
43+
runs-on: ubuntu-latest
44+
name: Build Docs
45+
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v4
49+
50+
- name: Set up Python
51+
uses: actions/setup-python@v5
52+
with:
53+
python-version: 3.x
54+
55+
- name: Install hatch
56+
run: |
57+
python -m pip install hatch
58+
59+
- name: Build
60+
run: hatch run docs:mkdocs build

0 commit comments

Comments
 (0)