Test download in CI with ca_core_news_sm (#8493)

This commit is contained in:
Adriane Boyd 2021-06-24 09:26:30 +02:00 committed by GitHub
parent fb9b389f52
commit 172dfec4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -60,8 +60,8 @@ steps:
displayName: "Run GPU tests"
condition: eq(${{ parameters.gpu }}, true)
# - script: |
# python -m spacy download en_core_web_sm
# python -c "import spacy; nlp=spacy.load('en_core_web_sm'); doc=nlp('test')"
# displayName: 'Test download CLI'
# condition: eq(variables['python_version'], '3.8')
- script: |
python -m spacy download ca_core_news_sm
python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
displayName: 'Test download CLI'
condition: eq(variables['python_version'], '3.8')