Spaces:
Runtime error
Runtime error
| 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 |