Allow sending label descriptions to the LLM (#945) #1470
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: 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" |