Skip to content

Commit

Permalink
update docs build in build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Oct 1, 2024
1 parent b76e5a0 commit 14ce84f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ jobs:
- name: Build docs
if: (matrix.os == 'ubuntu-22.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
timeout-minutes: 20
run: |
./.github/workflows/docs/check-build-docs
run: cd docs && poetry run bash ./build-docs.sh


publish_to_pypi:
Expand Down Expand Up @@ -111,6 +110,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
Expand All @@ -123,9 +123,12 @@ jobs:
run: pip install -U pip wheel
- name: Install extension
run: for w in `find wheelhouse/ -type f -name "*.whl"` ; do pip install $w ; done
- name: Install poetry
run: pip install poetry
- name: Install docs dependencies
run: |
pip install -r .github/workflows/docs/requirements.txt
cd docs && bash ./install.sh
for w in `find wheelhouse/ -type f -name "*.whl"` ; do poetry install $w ; done
- name: Build docs
timeout-minutes: 20
run: |
Expand Down

0 comments on commit 14ce84f

Please sign in to comment.