diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e28eab..d16adf9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,3 +42,17 @@ jobs: - run: poetry check - run: poetry install - run: poetry run pytest tests/ + + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "3.9" + - uses: Gr1N/setup-poetry@v4 + - run: poetry install + - run: poetry run sphinx-build -a -W -n -E docs/ docs/_build + - uses: actions/upload-artifact@v2 + with: + path: ./docs/_build/ diff --git a/README.rst b/README.rst index 24bb58e..6dc31ac 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,8 @@ sysaudit ======== .. image:: https://readthedocs.org/projects/sysaudit/badge/?version=latest -:target: https://sysaudit.readthedocs.io/en/latest/?badge=latest -:alt: Documentation Status + :target: https://sysaudit.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status Backport module of `sys.audit `_ and `sys.addaudithook `_