From ab50173cc5d55fbd2f83464c2f5991328b17da25 Mon Sep 17 00:00:00 2001 From: Melf <cqc@melf.de> Date: Thu, 23 Jan 2025 14:35:18 +0000 Subject: [PATCH 1/2] remove docs build from release workflow --- .github/workflows/build_and_test.yml | 34 ---------------------------- 1 file changed, 34 deletions(-) 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 From b5d705f12c289312815825b001840e8724ef2006 Mon Sep 17 00:00:00 2001 From: Melf <cqc@melf.de> Date: Thu, 23 Jan 2025 14:53:08 +0000 Subject: [PATCH 2/2] remove docs.yml --- .github/workflows/docs.yml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/docs.yml 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