docs: update benchmark description with ICDAR 2013 dataset #148
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: Format & Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install tools | |
| run: | | |
| uv tool install ruff | |
| uv tool install ty | |
| uv tool install pdm | |
| - name: Install dependencies | |
| run: pdm sync | |
| - name: Check Rust format | |
| run: cargo fmt --check | |
| - name: Check Python format | |
| run: | | |
| pdm run ruff check . --select I | |
| pdm run ruff format . --check | |
| - name: Run cargo check | |
| run: cargo check | |
| - name: Run cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: Run ruff check | |
| run: pdm run ruff check . | |
| - name: Run ty check | |
| run: pdm run ty check . | |
| - name: Check Markdown format | |
| uses: rvben/rumdl@v0 | |
| test: | |
| name: Test (${{ matrix.os }} / Python ${{ matrix.python-version }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install tools | |
| run: | | |
| uv tool install pdm | |
| uv tool install maturin | |
| - name: Install dependencies | |
| run: pdm sync | |
| - name: Build with maturin | |
| run: maturin develop --uv | |
| - name: Run Rust tests | |
| run: cargo test | |
| - name: Run Python tests | |
| run: pdm run pytest tests/python |