@@ -64,12 +64,12 @@ steps:
64
64
displayName: "Run GPU tests"
65
65
condition: eq(${{ parameters.gpu }}, true)
66
66
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')
73
73
74
74
- script : |
75
75
python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .
@@ -93,17 +93,17 @@ steps:
93
93
displayName: 'Test train CLI'
94
94
condition: eq(variables['python_version'], '3.8')
95
95
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')
107
107
108
108
- script : |
109
109
python .github/validate_universe_json.py website/meta/universe.json
0 commit comments