Skip to content

Commit

Permalink
Revert "update docs build in build and test workflow"
Browse files Browse the repository at this point in the history
This reverts commit 16453b1.
  • Loading branch information
CalMacCQ committed Sep 17, 2024
1 parent 16453b1 commit 5b4aeec
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
submodules: true
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* +refs/heads/*:refs/remotes/origin/*
- name: Set up Python 3.10
if: github.event_name == 'push' || github.event_name == 'schedule'
Expand Down Expand Up @@ -74,17 +73,15 @@ jobs:
with:
name: artefact-${{ matrix.os }}
path: wheelhouse/
- name: Install poetry
run: pip install poetry
- name: Install docs dependencies
if: (matrix.os == 'ubuntu-22.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
run: |
cd docs && poetry install
pip install -r .github/workflows/docs/requirements.txt
- name: Build docs
if: (matrix.os == 'ubuntu-22.04') && (github.event_name == 'pull_request' || github.event_name == 'schedule' )
timeout-minutes: 20
run: |
cd docs && poetry run bash ./build-docs.sh
./.github/workflows/docs/check-build-docs
publish_to_pypi:
Expand Down Expand Up @@ -131,18 +128,14 @@ jobs:
path: wheelhouse
- name: Install pip, wheel
run: pip install -U pip wheel
- name: Install poetry
run: pip install poetry
- name: Install extension
run: for w in `find wheelhouse/ -type f -name "*.whl"` ; do pip install $w ; done
- name: Install docs dependencies
run: |
cd docs
poetry install
pip install -r .github/workflows/docs/requirements.txt
- name: Build docs
timeout-minutes: 20
run: |
cd docs
poetry run bash ./build-docs.sh
cd .github/workflows/docs
mkdir extensions
./build-docs -d ${GITHUB_WORKSPACE}/.github/workflows/docs/extensions/api

0 comments on commit 5b4aeec

Please sign in to comment.