Skip to content

Commit

Permalink
chore: add doc sub check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Oct 30, 2023
1 parent 15a060b commit 47f445c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
run: tox -e mypy
- name: Pylint
run: tox -e pylint
- name: Documentation checks
run: tox -e docs-block-check

test:
continue-on-error: True
Expand Down
14 changes: 14 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ deps =
commands =
python -m mkdocs serve

[testenv:docs-block-sub]
basepython = python3.10
deps =
mkdocs==1.5.3
commands =
python {toxinidir}/scripts/sub_doc_blocks.py

[testenv:docs-block-check]
basepython = python3.10
deps =
mkdocs==1.5.3
commands =
python {toxinidir}/scripts/sub_doc_blocks.py --check

[testenv:unittests]
setenv =
PYTHONPATH={env:PWD:%CD%}
Expand Down

0 comments on commit 47f445c

Please sign in to comment.