Skip to content

Commit 60eac13

Browse files
committed
Remove nltk.download
Not necessary anymore. The wordnet package already check it
1 parent 0a5250f commit 60eac13

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/unittest-macos.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ jobs:
5353
# python -m pip install -r docker_requirements.txt
5454
- name: Install PyThaiNLP
5555
run: |
56-
python -m pip install .[icu,ipa,wordnet]
56+
python -m pip install .
5757
- name: Test
5858
env:
5959
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060
COVERALLS_SERVICE_NAME: github
6161
run: |
62-
python -c "import nltk; nltk.download('omw-1.4')"
63-
coverage run -m unittest discover
6462
coveralls
63+
# coverage run -m unittest discover

.github/workflows/unittest-windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@ jobs:
5959
- name: Install PyThaiNLP
6060
shell: powershell
6161
run: |
62-
python -m pip install .[icu,ipa,wordnet]
62+
python -m pip install .
6363
- name: Test
6464
shell: powershell
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
COVERALLS_SERVICE_NAME: github
6868
run: |
69-
python -c "import nltk; nltk.download('omw-1.4')"
70-
coverage run -m unittest discover
7169
coveralls
70+
# coverage run -m unittest discover

.github/workflows/unitttest-ubuntu.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ jobs:
4343
# python -m pip install -r docker_requirements.txt
4444
- name: Install PyThaiNLP
4545
run: |
46-
python -m pip install .[icu,ipa,wordnet]
46+
python -m pip install .
4747
- name: Test
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
COVERALLS_SERVICE_NAME: github
5151
run: |
52-
python -c "import nltk; nltk.download('omw-1.4')"
53-
coverage run -m unittest discover
5452
coveralls
53+
# coverage run -m unittest discover

0 commit comments

Comments
 (0)