fix: Refactor frontend #164
Workflow file for this run
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: Eval | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: eval-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_eval: | |
runs-on: ubuntu-latest | |
environment: Evaluation | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python + Poetry | |
uses: "./.github/actions/poetry_setup" | |
with: | |
python-version: "3.11" | |
poetry-version: "1.7.1" | |
cache-key: eval | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Evaluate | |
env: | |
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
WEAVIATE_URL: ${{ secrets.WEAVIATE_URL }} | |
WEAVIATE_API_KEY: ${{ secrets.WEAVIATE_API_KEY }} | |
run: poetry run pytest backend/tests/evals |