Skip to content

Merge branch 'bug/s-unidecode-anyascii' into 'main' #26

Merge branch 'bug/s-unidecode-anyascii' into 'main'

Merge branch 'bug/s-unidecode-anyascii' into 'main' #26

Workflow file for this run

name: test
on:
pull_request_target:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install --with dev
- name: Run the test suite
run: poetry run pytest --cov --cov-config=pyproject.toml tests/unit