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 0331832 commit 9877600
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
11 changes: 0 additions & 11 deletions actions/uv/jupyter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ name: Build the Jupyter Book

description: "Build jupyter book"

on:
workflow_call:
inputs:
kernel:
description: 'Jupyter kernel'
type: string
required: false
default: 'cvx'

runs:
using: "composite"

Expand All @@ -37,8 +28,6 @@ runs:
shell: bash
run: |
uv pip install jupyter-book --system
# 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
Expand Down
8 changes: 7 additions & 1 deletion actions/uv/marimo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ description: "Convert files for Marimo"
on:
workflow_call:
inputs:
marimo-folder:
description: 'Folder with *.py files for Marimo'
type: string
required: false
default: 'book/marimo'

python-version:
description: 'Python version'
type: string
Expand All @@ -43,7 +49,7 @@ runs:
mkdir -p artifacts/marimo
# Loop through all .py files
for file in book/marimo/*.py; do
for file in ${{ marimo-folder || 'book/marimo' }}/*.py; do
echo $file
Expand Down

0 comments on commit 9877600

Please sign in to comment.