Skip to content

Add JSON adaptor for dataset and evaluation helpers #130

Add JSON adaptor for dataset and evaluation helpers

Add JSON adaptor for dataset and evaluation helpers #130

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request_target:
branches:
- main
- rc*
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v3
id: setup-rye
with:
enable-cache: true
working-directory: py
cache-prefix: ${{ matrix.python-version }}
- name: Pin python-version ${{ matrix.python-version }}
working-directory: py
run: rye pin ${{ matrix.python-version }}
- name: Install dependencies
working-directory: py
run: rye sync --no-lock
- name: Check py directory contents
run: ls -la py
- name: Run Tests
working-directory: py
run: rye run pytest -v -n auto
- name: Run Integration Tests
working-directory: py
run: rye run pytest -v -m helpers -n auto
env:
LANGCHAIN_API_KEY: ${{ secrets.LANGCHAIN_API_KEY }}
LANGCHAIN_TRACING_V2: ${{ secrets.LANGCHAIN_TRACING_V2 }}
LANGFUSE_HOST: ${{ secrets.LANGFUSE_HOST }}
LANGFUSE_PUBLIC_KEY: ${{ secrets.LANGFUSE_PUBLIC_KEY }}
LANGFUSE_SECRET_KEY: ${{ secrets.LANGFUSE_SECRET_KEY }}
LANGSMITH_TEST_TRACKING: ${{ secrets.LANGSMITH_TEST_TRACKING }}
LUNARY_PUBLIC_KEY: ${{ secrets.LUNARY_PUBLIC_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PAREA_API_KEY: ${{ secrets.PAREA_API_KEY }}
BRAINTRUST_API_KEY: ${{ secrets.BRAINTRUST_API_KEY }}