Skip to content

Merge branch 'release' into develop #43

Merge branch 'release' into develop

Merge branch 'release' into develop #43

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