Skip to content

Fix: Unicode lower-casing does not preserve length (#19) #56

Fix: Unicode lower-casing does not preserve length (#19)

Fix: Unicode lower-casing does not preserve length (#19) #56

name: Tests and Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies with Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with test,dev
poetry run pip install .
- name: Run tests with coverage
run: poetry run pytest --cov=error_align --cov-report=xml
- name: Upload coverage to Codecov
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true