Skip to content

fix: strip ANSI codes in CLI help tests #3

fix: strip ANSI codes in CLI help tests

fix: strip ANSI codes in CLI help tests #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uv sync --group dev
- run: uv run ruff check src/ tests/
- run: uv run ruff format --check src/ tests/
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uv sync --group dev
- run: PYTHONPATH=src uv run pytest --cov=ocr --cov-report=xml
- uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-latest'