Merge pull request #806 from guardrails-ai/jc/fix_doc_nitpick_depreca… #30
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
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 |