Skip to content

Commit

Permalink
More verbose poetry install for getting info about slow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Aug 17, 2022
1 parent 477bd64 commit 99348be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ jobs:
# Selectively install the optional dependencies for some Python versions
# For Python 3.8:
if [[ ${{ matrix.python-version }} == '3.8' ]]; then
poetry install -E "nn omikuji yake voikko pycld3";
poetry install -E "nn omikuji yake voikko pycld3" -vv;
fi
# For Python 3.9:
if [[ ${{ matrix.python-version }} == '3.9' ]]; then
poetry install -E "fasttext spacy";
poetry install -E "fasttext spacy" -vv;
# download the small English pretrained spaCy model needed by spacy analyzer
poetry run python -m spacy download en_core_web_sm --upgrade-strategy only-if-needed
fi
# For Python 3.10:
if [[ ${{ matrix.python-version }} == '3.10' ]]; then
poetry install -E "nn omikuji yake";
poetry install -E "nn omikuji yake" -vv;
fi
poetry run python -m nltk.downloader punkt
Expand Down

0 comments on commit 99348be

Please sign in to comment.