diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml new file mode 100644 index 0000000..de68cd6 --- /dev/null +++ b/.github/workflows/test-docs.yml @@ -0,0 +1,29 @@ +name: Test docs + +on: + workflow_dispatch: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + docs: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8] + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install --upgrade --upgrade-strategy eager --no-cache-dir .[docs] + - name: Build docs + run: make -C docs html