Skip to content

README.mdとREADME_ja.mdのyougenオプションの説明を更新し、用言が見出し語に統一されることを明記。バージョンを0.… #46

README.mdとREADME_ja.mdのyougenオプションの説明を更新し、用言が見出し語に統一されることを明記。バージョンを0.…

README.mdとREADME_ja.mdのyougenオプションの説明を更新し、用言が見出し語に統一されることを明記。バージョンを0.… #46

Workflow file for this run

name: Python Package Test
on:
pull_request:
branches:
- develop
- release
workflow_dispatch:
push:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: download synonym file
run: |
curl -L -f -o yurenizer/data/synonyms.txt https://raw.githubusercontent.com/WorksApplications/SudachiDict/refs/heads/develop/src/main/text/synonyms.txt
if [ ! -f yurenizer/data/synonyms.txt ]; then
echo "Failed to download synonyms.txt"
exit 1
fi
- name: Run tests
run: |
poetry run pytest