From 55b193d65b6270d9272f124d1a23a8f3dc0617e5 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Fri, 29 Nov 2024 16:19:27 +0400 Subject: [PATCH] without .venv --- actions/uv/jupyter/action.yml | 6 +++--- actions/uv/setup/action.yml | 2 +- actions/uv/sphinx/action.yml | 4 ++-- actions/uv/test/action.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/actions/uv/jupyter/action.yml b/actions/uv/jupyter/action.yml index dd92b95..e95fa65 100644 --- a/actions/uv/jupyter/action.yml +++ b/actions/uv/jupyter/action.yml @@ -36,7 +36,7 @@ runs: - name: Install jupyterbook shell: bash run: | - uv pip install jupyter-book + pip install jupyter-book # There is no need to create the kernel if the jupyter book is installed within the same virtual environment as the package # poetry run python -m ipykernel install --user --name=${{ inputs.kernel || 'cvx' }} @@ -44,8 +44,8 @@ runs: - name: Build the book shell: bash run: | - uv run jupyter-book clean book - uv run jupyter-book build book + jupyter-book clean book + jupyter-book build book # Create this weird .nojekyll file # We do this in the book action... This is the wrong place # see https://jupyterbook.org/en/stable/publish/gh-pages.html#option-1-copy-and-paste-your-books-build-contents-into-a-new-folder diff --git a/actions/uv/setup/action.yml b/actions/uv/setup/action.yml index 532bfc0..004f420 100644 --- a/actions/uv/setup/action.yml +++ b/actions/uv/setup/action.yml @@ -41,4 +41,4 @@ runs: - name: Install the project shell: bash run: | - uv sync --all-extras --dev + uv sync --all-extras --dev --system diff --git a/actions/uv/sphinx/action.yml b/actions/uv/sphinx/action.yml index 30f72e6..a69aa33 100644 --- a/actions/uv/sphinx/action.yml +++ b/actions/uv/sphinx/action.yml @@ -33,7 +33,7 @@ runs: - name: Install sphinx shell: bash run: | - uv pip install --no-cache-dir \ + pip install --no-cache-dir \ sphinx==7.2.6 \ sphinx-autoapi \ sphinx-rtd-theme @@ -41,7 +41,7 @@ runs: - name: Build sphinx shell: bash run: | - uv run sphinx-build -b html ${{ inputs.sphinx-folder || 'book/sphinx' }} artifacts/sphinx + sphinx-build -b html ${{ inputs.sphinx-folder || 'book/sphinx' }} artifacts/sphinx - name: Archive sphinx documentation uses: actions/upload-artifact@v4 diff --git a/actions/uv/test/action.yml b/actions/uv/test/action.yml index b383dd5..83e38e0 100644 --- a/actions/uv/test/action.yml +++ b/actions/uv/test/action.yml @@ -36,4 +36,4 @@ runs: - name: Test shell: bash run: | - uv run pytest tests + pytest tests