diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 7aa6052..7a0ecfd 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -107,37 +107,3 @@ jobs: user: __token__ password: ${{ secrets.PYPI_PYTKET_CUTENSORNET_API_TOKEN }} verbose: true - - build_docs: - name: Build docs - if: github.event_name == 'release' - needs: publish_to_pypi - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: '0' - submodules: true - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - name: Download all wheels - uses: actions/download-artifact@v4 - with: - 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 poetry install $w ; done - - name: Install docs dependencies - run: | - cd docs - bash ./install.sh - - name: Build docs - timeout-minutes: 20 - run: | - cd docs - poetry run bash ./build-docs.sh diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 126d899..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Pytket cuTensorNet Docs - -on: - push: - branches: - - 'docs/**' - schedule: - # 04:00 every Tuesday morning - - cron: '0 4 * * 2' - -jobs: - docs: - name: build docs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - name: install poetry - run: pip install poetry - - name: Install docs dependencies - run: cd docs && bash install.sh - - name: Install pytket cutensornet - run: cd docs && poetry run pip install ../. - - name: Test building docs - timeout-minutes: 10 - run: | - cd docs - poetry run bash build-docs.sh \ No newline at end of file