Replace Image + PDF transform with OCR transform #1437
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: 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" |