Skip to content

Commit

Permalink
Add CI checks for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-git committed Mar 14, 2024
1 parent 87fffa6 commit cba4930
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ jobs:
cd example-project
poetry install
poetry run pre-commit run -a
poetry run mkdocs build
9 changes: 8 additions & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,11 @@ jobs:
- uses: ./.github/actions/python-poetry-env
with:
python-version: ${{ matrix.python-version }}
- run: poetry run pytest{% endraw %}
- run: poetry run pytest

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/python-poetry-env
- run: poetry run mkdocs build{% endraw %}

0 comments on commit cba4930

Please sign in to comment.