Download .github/workflows/ci.yml from Imene-ee/LabLens: direct link, hf CLI and curl.
- Browser
- Download file 731 Bytes
-
https://huggingface.co/spaces/Imene-ee/LabLens/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/Imene-ee/LabLens/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/Imene-ee/LabLens/resolve/main/.github/workflows/ci.yml
731 Bytes
| name: tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: System packages (OCR + PDF tools) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y tesseract-ocr tesseract-ocr-eng tesseract-ocr-fra tesseract-ocr-ara poppler-utils fonts-dejavu-core | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install -r requirements.txt pytest | |
| - run: pytest -q | |
| - name: Mini benchmark (20 reports) | |
| run: | | |
| python -m lablens.synth.generator --out /tmp/bench -n 20 --seed 1000 | |
| python -m lablens.evaluate --bench /tmp/bench --out /tmp/results.json | |