-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #689 from guardrails-ai/bug/pip-proc-json-installa…
…tion json load pip results, then aggregate if that fails
- Loading branch information
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Notebook Execution and Error Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: # This enables manual triggering | ||
|
||
jobs: | ||
install_from_hub: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11.x | ||
- name: pip install from main | ||
run: pip install git+https://github.com/guardrails-ai/guardrails.git@main | ||
- name: Install PII validator | ||
run: guardrails hub install hub://guardrails/detect_pii | ||
- name: Verify PII validator is addressable | ||
run: echo 'from guardrails.hub import DetectPII' | python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters