From ca0605cfc8b2c3a6dc46178877a0d607290bb712 Mon Sep 17 00:00:00 2001 From: Alleria Date: Sat, 29 Jun 2024 14:34:20 -0700 Subject: [PATCH] add workflow --- .github/workflows/documentation.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 88be4a83..d94bafc4 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,11 +22,15 @@ jobs: with: python-version: '3.11' - - name: Install dependencies + - name: Install Poetry run: | - pip install --upgrade pip - pip install -r ./docs/requirements.txt - pip freeze # Display installed packages for debugging + curl -sSL https://install.python-poetry.org | python3 - + echo "$HOME/.local/bin" >> $GITHUB_PATH + + - name: Install dependencies using Poetry + run: | + poetry config virtualenvs.create false + poetry install - name: Build documentation run: |