Skip to content

Commit 1dd3229

Browse files
trigger ci
1 parent 3b65fcf commit 1dd3229

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/examples_check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Notebook Execution and Error Check
22

33
on:
4+
pull_request:
45
schedule:
56
- cron: "0 0 * * *"
67
push:

.github/workflows/scripts/run_notebooks.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ notebook="$1"
1414
invalid_notebooks=("llamaindex-output-parsing.ipynb" "competitors_check.ipynb" "guardrails_server.ipynb" "valid_chess_moves.ipynb")
1515
if [[ ! " ${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

0 commit comments

Comments
 (0)