Repository navigation
fix(extract-core): add missing excluded docling supported input forma… #58
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: Tests extract-core | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| pull_request: | |
| paths: | |
| - 'extract-core/**' | |
| jobs: | |
| lint-core: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/ruff-action@v4.0.0 | |
| with: | |
| args: "--version" # skips test by displaying the version | |
| - name: Check formatting | |
| run: ruff format --config qa/ruff.toml --check extract-core | |
| - name: Lint test | |
| run: ruff check --config qa/ruff.toml extract-core | |
| tests-core: | |
| runs-on: ubuntu-latest | |
| env: | |
| PYTHON_VERSION: 3.13 | |
| ASTRAL_VERSION: 0.11.6 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python project | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: ${{ env.ASTRAL_VERSION }} | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| enable-cache: true | |
| working-directory: extract-core | |
| - name: Run tests | |
| run: | | |
| cd extract-core | |
| uv sync --verbose --frozen --dev --all-extras | |
| uv run --frozen python -m pytest -vvv --cache-clear --show-capture=all -r A tests | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true |