Integrate TransformProgram
with QNode
#35877
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sphinx docs check | |
# ----------------- | |
# | |
# There are 2 main reasons for having this dedicated Sphinx docs check in | |
# addition to the Read the Docs (RTD) builder: | |
# | |
# 1. This action is set up to fail on Sphinx warnings, whereas RTD's will show | |
# a passing sign for warnings, and only fail for errors. So this is a stricter | |
# check. | |
# | |
# 2. When this action detects warnings, it produces GitHub annotations on the | |
# Files Changed tab in the pull request. Such annotations can be convenient for | |
# developers/code reviewers (e.g., the same way CodeCov and CodeFactor | |
# annotate). | |
# ----------------- | |
name: "Documentation check" | |
on: | |
- pull_request | |
jobs: | |
sphinx: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: PennyLaneAI/sphinx-action@master | |
with: | |
docs-folder: "doc/" | |
pre-build-command: "apt install -y graphviz && pip3 install -r doc/requirements.txt && pip3 install . pip3 install openfermionpyscf && pip3 install aiohttp fsspec h5py" | |
build-command: "sphinx-build -b html . _build -W --keep-going" |