add stopword #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: package | |
on: [push] | |
permissions: | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y libicu-dev | |
python -m pip install --upgrade pip wheel pyicu setuptools | |
pip install -e ".[dev]" | |
- name: Generate data file | |
run: | | |
make generate | |
- name: Type checking | |
run: | | |
make typecheck | |
- name: Test with pytest | |
run: | | |
make test | |
- name: Build a distribution | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Publish a Python distribution to PyPI | |
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
skip-existing: true | |
verbose: true |