Merge pull request #3 from vivek-athina/dev #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI with Athina Evals | |
on: | |
push: | |
branches: | |
- main # Trigger CI on pushes to main branch only | |
jobs: | |
evaluate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install athina # Install Athina and other project dependencies as needed | |
- name: Prepare Dataset | |
run: | | |
# If your dataset is not static, prepare it here | |
# For example, download the dataset or build it from available data | |
echo "Prepare your dataset here if necessary" | |
- name: Run Athina Evaluation and Validation Script | |
run: python .github/scripts/run_athina_evals.py | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |