We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4473fde commit d2cf5d4Copy full SHA for d2cf5d4
1 file changed
.github/workflows/ci.yml
@@ -78,6 +78,8 @@ jobs:
78
minimal_download_test:
79
name: Minimal NLTK Download Test
80
runs-on: ubuntu-latest
81
+ env:
82
+ NLTK_DATA: /tmp/nltk_data
83
steps:
84
- uses: actions/checkout@v5
85
- uses: actions/setup-python@v6
@@ -86,7 +88,7 @@ jobs:
86
88
- run: |
87
89
pip install --upgrade pip
90
pip install --upgrade nltk
- python -c "import nltk; nltk.download('wordnet', download_dir='/tmp/nltk_data'); from nltk.corpus import wordnet; assert wordnet.synsets('dog'), 'Wordnet download failed or unusable'"
91
+ python -c "import nltk; nltk.download('wordnet'); from nltk.corpus import wordnet; assert wordnet.synsets('dog'), 'Wordnet download failed or unusable'"
92
93
test:
94
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
0 commit comments