Skip to content

feat: implements on topic guardrail #116

feat: implements on topic guardrail

feat: implements on topic guardrail #116

Workflow file for this run

name: Test
on: pull_request
env:
DB_URI: 'sqlite:///:memory:'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: |
poetry env use ${{ matrix.python-version }}
- name: Install dependencies
run: |
poetry install --no-root
- name: Run tests
run: |
poetry run pytest app
- name: Lint with Ruff
run: |
pip install ruff
ruff --output-format=github .
continue-on-error: true