File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11name : Notebook Execution and Error Check
22
33on :
4+ pull_request :
45 schedule :
56 - cron : " 0 0 * * *"
67 push :
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ notebook="$1"
1414invalid_notebooks=(" llamaindex-output-parsing.ipynb" " competitors_check.ipynb" " guardrails_server.ipynb" " valid_chess_moves.ipynb" )
1515if [[ ! " ${invalid_notebooks[@]} " =~ " ${notebook} " ]]; then
1616 echo " Processing $notebook ..."
17+
18+ echo " Guardrails Hub Init File Contents: "
19+ cat /home/runner/work/guardrails/guardrails/.venv/lib/python3.11/site-packages/guardrails/hub/__init__.py
20+
21+ # Example install
22+
23+ guardrails hub install hub://guardrails/toxic_language --quiet
24+
1725 # poetry run jupyter nbconvert --to notebook --execute "$notebook"
1826 jupyter nbconvert --to notebook --execute " $notebook "
1927 if [ $? -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments