Skip to content

add no_emoji attribute in README.md for clarity (#40) #68

add no_emoji attribute in README.md for clarity (#40)

add no_emoji attribute in README.md for clarity (#40) #68

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check cleantext/ tests/
- run: ruff format --check cleantext/ tests/
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
extras:
[
"",
'--extras "gpl"',
'--extras "sklearn"',
'--extras "gpl sklearn"',
]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install poetry
- run: poetry install --only main ${{ matrix.extras }} && poetry run pip install pytest
- run: poetry run pytest