Skip to content

feat: add configurable fail-closed SQL guard #9

feat: add configurable fail-closed SQL guard

feat: add configurable fail-closed SQL guard #9

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --all-extras
- name: Run linting
run: |
uv run black --check .
- name: Run tests
run: |
uv run pytest -v --cov=openchatbi --cov-report=xml