diff --git a/.github/workflows/builddocs.yml b/.github/workflows/builddocs.yml new file mode 100644 index 0000000..88f8edf --- /dev/null +++ b/.github/workflows/builddocs.yml @@ -0,0 +1,25 @@ +name: Build docs + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + name: Setup environment + steps: + - name: Checkout repo + uses: actions/checkout@v3 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: "3" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ./python + pip install sphinx sphinx-rtd-theme myst-parser + - name: Build documentation + run: | + sphinx-build -M html ./docs ./docs/_build + diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index c6847e2..d166489 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -1,4 +1,4 @@ -name: Builds and test CI +name: Builds and test on: push: