Include equations during line detection - Helps expand bad layout boxes #953
This file contains hidden or 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: CI tests | |
| on: [push] | |
| jobs: | |
| tests: | |
| runs-on: t4_gpu | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install apt requirements | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libgdk-pixbuf2.0-0 libcairo2 libffi-dev shared-mime-info | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| - name: Install python dependencies | |
| run: | | |
| pip install poetry | |
| poetry install --extras "full" | |
| - name: Run tests | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: poetry run pytest |