@@ -64,12 +64,12 @@ steps:
6464 displayName: "Run GPU tests"
6565 condition: eq(${{ parameters.gpu }}, true)
6666
67- # - script: |
68- # python -m spacy download ca_core_news_sm
69- # python -m spacy download ca_core_news_md
70- # python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
71- # displayName: 'Test download CLI'
72- # condition: eq(variables['python_version'], '3.8')
67+ - script : |
68+ python -m spacy download ca_core_news_sm
69+ python -m spacy download ca_core_news_md
70+ python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
71+ displayName: 'Test download CLI'
72+ condition: eq(variables['python_version'], '3.8')
7373
7474 - script : |
7575 python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .
@@ -93,17 +93,17 @@ steps:
9393 displayName: 'Test train CLI'
9494 condition: eq(variables['python_version'], '3.8')
9595
96- # - script: |
97- # python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_sm'}; config.to_disk('ner_source_sm.cfg')"
98- # PYTHONWARNINGS="error,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
99- # displayName: 'Test assemble CLI'
100- # condition: eq(variables['python_version'], '3.8')
101- #
102- # - script: |
103- # python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_md'}; config.to_disk('ner_source_md.cfg')"
104- # python -m spacy assemble ner_source_md.cfg output_dir 2>&1 | grep -q W113
105- # displayName: 'Test assemble CLI vectors warning'
106- # condition: eq(variables['python_version'], '3.8')
96+ - script : |
97+ python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_sm'}; config.to_disk('ner_source_sm.cfg')"
98+ PYTHONWARNINGS="error,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
99+ displayName: 'Test assemble CLI'
100+ condition: eq(variables['python_version'], '3.8')
101+
102+ - script : |
103+ python -c "import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_md'}; config.to_disk('ner_source_md.cfg')"
104+ python -m spacy assemble ner_source_md.cfg output_dir 2>&1 | grep -q W113
105+ displayName: 'Test assemble CLI vectors warning'
106+ condition: eq(variables['python_version'], '3.8')
107107
108108 - script : |
109109 python .github/validate_universe_json.py website/meta/universe.json
0 commit comments