From 935f509ab5e8171ca6ec8d77be1d7003e411e0fe Mon Sep 17 00:00:00 2001 From: Callum Macpherson <93673602+CalMacCQ@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:16:45 +0000 Subject: [PATCH] fix: bad poetry install in docs build (#174) # Description Fixing the bad poetry install command as I did in the other repositories. https://github.com/CQCL/pytket-quantinuum/pull/532 # Related issues Please mention any github issues addressed by this PR. # Checklist - [ ] I have performed a self-review of my code. - [ ] I have commented hard-to-understand parts of my code. - [ ] I have made corresponding changes to the public API documentation. - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have updated the changelog with any user-facing changes. --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 38637bad..7aa60523 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -74,7 +74,7 @@ jobs: run: | cd docs bash ./install.sh - for w in `find wheelhouse/ -type f -name "*.whl"` ; do poetry install $w ; done + for w in `find wheelhouse/ -type f -name "*.whl"` ; do poetry run pip install $w ; done - name: Build docs if: (matrix.os == 'ubuntu-latest') && (github.event_name == 'pull_request' || github.event_name == 'schedule' ) timeout-minutes: 20 @@ -140,4 +140,4 @@ jobs: timeout-minutes: 20 run: | cd docs - poetry run bash ./build-docs.sh \ No newline at end of file + poetry run bash ./build-docs.sh