Skip to content

Commit

Permalink
Add a docs build stage to the tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tr11 committed Feb 20, 2024
1 parent 3358439 commit b60ced4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:
jobs:
testing:
runs-on: ubuntu-latest
name: Testing
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand All @@ -37,3 +38,23 @@ jobs:
- name: Coverage report
uses: codecov/codecov-action@v1

docs:
runs-on: ubuntu-latest
name: Build Docs

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x

- name: Install hatch
run: |
python -m pip install hatch
- name: Build
run: hatch run docs:mkdocs build

0 comments on commit b60ced4

Please sign in to comment.