mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-07 06:33:09 +03:00
Add test that there are no warnings on module-based load
This will succeed due to changes in this branch, but local tests with the latest release failed as intended.
This commit is contained in:
parent
dc46b35687
commit
76183391da
5
.github/azure-steps.yml
vendored
5
.github/azure-steps.yml
vendored
|
@ -72,6 +72,11 @@ steps:
|
||||||
displayName: 'Test download CLI'
|
displayName: 'Test download CLI'
|
||||||
condition: eq(variables['python_version'], '3.8')
|
condition: eq(variables['python_version'], '3.8')
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
python -W error -c "import ca_core_news_sm; nlp = ca_core_news_sm.load(); doc=nlp('test')"
|
||||||
|
displayName: 'Test no warnings on load (#11713)'
|
||||||
|
condition: eq(variables['python_version'], '3.8')
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .
|
python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .
|
||||||
displayName: 'Test convert CLI'
|
displayName: 'Test convert CLI'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user