From 9d1e897dc7f067a1a3b5832809e6e7344118f299 Mon Sep 17 00:00:00 2001 From: Kira Date: Sat, 20 Jan 2024 16:18:49 +0800 Subject: [PATCH] update workflow to install docs deps --- .github/workflows/ci.yml | 2 +- .github/workflows/pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ea0436..c7031da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root + run: poetry install --no-interaction --no-root --with docs - name: Install library run: poetry install --no-interaction - name: Activate virtual environment diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d45fa7f..1828540 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -40,7 +40,7 @@ jobs: key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' - run: poetry install --no-interaction --no-root + run: poetry install --no-interaction --no-root --with docs - name: Install library run: poetry install --no-interaction - name: Activate virtual environment