Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Update installation instructions in README to 0.8 (#90) #367

Update installation instructions in README to 0.8 (#90)

Update installation instructions in README to 0.8 (#90) #367

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
max-parallel: 4
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: |
uv sync --all-extras --dev
uv run python -m ensurepip
uv run python -m pip install --upgrade pip
- name: Check types
run: |
uv run python -m mypy --follow-imports=normal medcat
- name: Ruff linting
run: |
uv run ruff check medcat --preview
- name: Test
run: |
timeout 20m uv run python -m unittest discover
- name: Model regression
run: |
uv run bash tests/backwards_compatibility/run_current.sh
- name: Backwards compatibility
run: |
uv run bash tests/backwards_compatibility/check_backwards_compatibility.sh