mirror of https://github.com/explosion/spaCy.git
Temporarily ignore W095 in assemble CLI CI test (#9460)
* Temporarily ignore W095 in assemble CLI CI test * Adjust PR CI includes
This commit is contained in:
parent
fe6d63aedc
commit
8db574e0b5
|
@ -94,7 +94,8 @@ steps:
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
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')"
|
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')"
|
||||||
PYTHONWARNINGS="error,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
|
# temporarily ignore W095
|
||||||
|
PYTHONWARNINGS="error,ignore:[W095]:UserWarning,ignore::DeprecationWarning" python -m spacy assemble ner_source_sm.cfg output_dir
|
||||||
displayName: 'Test assemble CLI'
|
displayName: 'Test assemble CLI'
|
||||||
condition: eq(variables['python_version'], '3.8')
|
condition: eq(variables['python_version'], '3.8')
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,13 @@ trigger:
|
||||||
- "*.md"
|
- "*.md"
|
||||||
pr:
|
pr:
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
|
||||||
- "website/*"
|
|
||||||
- "*.md"
|
|
||||||
include:
|
include:
|
||||||
|
- "*.cfg"
|
||||||
|
- "*.py"
|
||||||
|
- "*.toml"
|
||||||
|
- "*.yml"
|
||||||
|
- ".github/azure-steps.yml"
|
||||||
|
- "spacy/*"
|
||||||
- "website/meta/universe.json"
|
- "website/meta/universe.json"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
Loading…
Reference in New Issue