@@ -5,25 +5,25 @@ on: [push, pull_request, workflow_dispatch]
55jobs :
66 test :
77 name : Run tests with pytest
8- container : kunlp/jumanpp-knp:ubuntu
9- runs-on : ubuntu-20 .04 # to meet the ubuntu version in the kunlp/jumanpp-knp:ubuntu container
8+ container : kunlp/jumanpp-knp:ubuntu22.04
9+ runs-on : ubuntu-22 .04
1010 strategy :
11- max-parallel : 6
11+ max-parallel : 5
1212 fail-fast : false
1313 matrix :
14- python-version : ["3.7", "3. 8", "3.9", "3.10", "3.11", "3.12"]
14+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
1515 steps :
1616 - name : Checkout repository
1717 uses : actions/checkout@v4
1818 - name : Install required apt packages
1919 run : |
20- apt update -y
21- DEBIAN_FRONTEND=noninteractive apt install -y curl build-essential libsqlite3-dev libffi-dev
20+ export DEBIAN_FRONTEND=noninteractive
21+ apt-get update -yq
22+ apt-get install -yq curl build-essential libsqlite3-dev libffi-dev libssl-dev
2223 - name : Set up Python ${{ matrix.python-version }}
2324 uses : actions/setup-python@v4
2425 with :
2526 python-version : ${{ matrix.python-version }}
26- allow-prereleases : true # TODO: Remove this line when Python 3.12 is released
2727 - name : Install Poetry
2828 run : |
2929 python3 -m pip install --user pipx
3636 run : |
3737 poetry install --no-interaction --without dev,docs --extras=cli
3838 - name : Install KWJA
39- # KWJA does not support Python 3.7 or 3. 12
40- if : ${{ matrix.python-version != 3.7 && matrix.python-version != 3. 12 }}
39+ # KWJA does not support Python 3.12
40+ if : ${{ matrix.python-version != 3.12 }}
4141 run : |
4242 pipx install kwja
4343 kwja --model-size tiny --text "テスト"
0 commit comments