From f33fc6b24d0086be319492154f06c18e70f838b6 Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Wed, 10 Jan 2024 09:46:20 -0600 Subject: [PATCH] Added doc testing. --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41e6978b..5b95d979 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,6 +59,24 @@ jobs: name: coverage path: coverage.xml + doc-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: set up python 3.8 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - run: pip install --user -r requirements/dev.txt + - run: sphinx-build doc/source/ doc/build/ -W --keep-going -E + - run: sphinx-build -b html doc/source/ doc/build/html + - uses: actions/upload-artifact@v3 + with: + name: test + path: test_report.xml + + deploy-pages: needs: [build, test]