Skip to content

Commit

Permalink
without .venv
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Nov 29, 2024
1 parent 7eb29c3 commit 55b193d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions actions/uv/jupyter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ 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' }}
# Build the book
- 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
Expand Down
2 changes: 1 addition & 1 deletion actions/uv/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ runs:
- name: Install the project
shell: bash
run: |
uv sync --all-extras --dev
uv sync --all-extras --dev --system
4 changes: 2 additions & 2 deletions actions/uv/sphinx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ 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
- 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
Expand Down
2 changes: 1 addition & 1 deletion actions/uv/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ runs:
- name: Test
shell: bash
run: |
uv run pytest tests
pytest tests

0 comments on commit 55b193d

Please sign in to comment.