kirana-bot / github /workflows /mlops-pipeline.yml
jsree667's picture
deploy: initial clean repository build
3d4e083
Raw
History Blame Contribute Delete
843 Bytes
name: Kirana-Bot MLOps Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-agent-accuracy:
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout Code Repository
uses: actions/checkout@v4
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: πŸ“¦ Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install agno openai sqlalchemy "psycopg[binary]" pytest fastapi uvicorn openlit langfuse
- name: 🧠 Install Ollama & Pull Model
run: |
curl -fsSL https://ollama.com/install.sh | sh
ollama serve &
sleep 5
ollama pull llama3.2:3b
- name: πŸ§ͺ Run Golden Dataset Tests (Pytest)
run: |
pytest test_bot.py -v