Skip to content

Return better error messages and types for labeling errors #1249

Return better error messages and types for labeling errors

Return better error messages and types for labeling errors #1249

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Python3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
architecture: x64
cache: "pip"
- name: Install autolabel
run: |
pip install '.[all]'
- name: Test with pytest
run: |
make setup
make check
env:
OPENAI_API_KEY: "test_key"
ANTHROPIC_API_KEY: "test_key"
REFUEL_API_KEY: "test_key"