From 14ce84f99c9122e14e99b742e9484d8eddf5528f Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Tue, 1 Oct 2024 18:37:08 +0100 Subject: [PATCH] update docs build in build_and_test.yml --- .github/workflows/build_and_test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index b9ec7211..0dede539 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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: @@ -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: @@ -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: |