From 2643d69a7df9bc572a2b1effd2c73855187602d0 Mon Sep 17 00:00:00 2001 From: LegrandNico Date: Mon, 14 Oct 2024 14:45:04 +0200 Subject: [PATCH] graphviz --- .github/workflows/docs.yml | 9 +++++++-- .github/workflows/test.yml | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 17b9c1a28..f9c49c962 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,11 +23,16 @@ jobs: with: python-version: '3.12' + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | python3 - + echo "$HOME/.local/bin" >> $GITHUB_PATH + poetry self add "poetry-dynamic-versioning[plugin]" + # 3. Install dependencies and build the documentation - name: Install dependencies and build docs run: | - apt-get install graphviz - pip install poetry poetry-dynamic-versioning + sudo apt-get install graphviz poetry install --with dev poetry run sphinx-build -j 4 -T -b html docs/source docs/build/html diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02f1ffb90..40cd37ce4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: # Step 4: Install System Dependencies - name: Install Graphviz - run: apt-get install -y graphviz + run: sudo apt-get install -y graphviz # Step 5: Install Python Dependencies using Poetry - name: Install dependencies