diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 544bfad..ca56468 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,6 +1,14 @@ name: Formatting check on: -- pull_request + pull_request: + paths: + - pennylane_sf/** + - tests/** + - .pylintrc + - Makefile + - requirements-ci.txt + - requirements.txt + - setup.py jobs: black: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1fd2034..6803fc3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,14 @@ on: branches: - master pull_request: + paths: + - pennylane_sf/** + - tests/** + - .pylintrc + - Makefile + - requirements-ci.txt + - requirements.txt + - setup.py jobs: tests: diff --git a/.readthedocs.yml b/.readthedocs.yml index 38e6c02..acec301 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,16 +4,12 @@ sphinx: configuration: doc/conf.py python: - install: - - requirements: requirements-ci.txt - - requirements: doc/requirements.txt - - method: pip - path: . + install: + - requirements: doc/requirements.txt + - method: pip + path: . build: - os: ubuntu-22.04 - tools: - python: "3.8" - jobs: - pre_install: - - echo "setuptools~=66.0\npip~=22.0" >> requirements-ci.txt + os: ubuntu-22.04 + tools: + python: "3.9" diff --git a/doc/requirements.txt b/doc/requirements.txt index 60e00b3..c9e62b3 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -13,6 +13,11 @@ docutils==0.16 StrawberryFields==0.23.0 sphinx==3.5; python_version < "3.10" sphinx==4.2; python_version == "3.10" +sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.5 sphinx-automodapi==0.13 sphinx-copybutton sphinxcontrib-bibtex==2.4.2