Skip to content

Update athina_ci.yml #9

Update athina_ci.yml

Update athina_ci.yml #9

Workflow file for this run

name: CI with Athina Evals
on:
# Trigger CI on PRs to main
pull_request:
branches:
- main
jobs:
evaluate:
runs-on: ubuntu-latest
steps:
# Check out repository code
- uses: actions/checkout@v3
# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
# Install required packages
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Project dependencies
pip install athina # Evaluation framework
pip install e2b-code-interpreter # Additional dependency of athina
# Optional dataset preparation step
- name: Prepare Dataset
run: |
echo "Prepare your dataset here if necessary"
# Run evaluation with OpenAI API access
- name: Run Athina Evaluation
run: python -m evaluations.run_athina_evals
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}