Skip to content

Commit

Permalink
deprecating sphinx build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bdoolittle committed Jul 25, 2024
1 parent f6c3c00 commit e46848a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 33 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,21 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
docs-folder: "docs/"
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r requirements.txt
pip install -r docs/requirements.txt
pip install sphinx
- name: Build Documentation
run: |
sphinx-build -b html docs/source/ docs/build/html
- name: Commit documentation changes
run: |
git clone https://github.com/ChitambarLab/qNetVO.git --branch gh-pages --single-branch gh-pages
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/check_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r requirements.txt
pip install -r docs/requirements.txt
pip install sphinx
- name: Build Documentation
run: |
sphinx-build -b html docs/source/ docs/build/html
24 changes: 0 additions & 24 deletions .github/workflows/check_documentation2.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/formatting_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install dependencies
run: pip install black
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers =
package_dir =
= src
packages = find:
python_requires = >=3.8
python_requires = >=3.9
install_requires =
pennylane==0.37

Expand Down

0 comments on commit e46848a

Please sign in to comment.