Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
K0ntr4 authored Apr 10, 2024
1 parent eb7b514 commit 473e9f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
- name: Download NLTK data
run: python -m nltk.downloader punkt averaged_perceptron_tagger

- name: Wait for NLTK data to be downloaded
run: |
while [ ! -f /usr/local/share/nltk_data/tokenizers/punkt/english.pickle ] || [ ! -f /usr/local/share/nltk_data/taggers/averaged_perceptron_tagger/averaged_perceptron_tagger.pickle ]; do
echo "Waiting for NLTK data to be downloaded..."
sleep 10
done
- name: Run unit tests
run: |
python -m unittest discover -s tests -p 'test_*.py'

0 comments on commit 473e9f0

Please sign in to comment.