From 8db574e0b55d00196be50eebc56775a2854c8795 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 14 Oct 2021 13:27:39 +0200 Subject: [PATCH] Temporarily ignore W095 in assemble CLI CI test (#9460) * Temporarily ignore W095 in assemble CLI CI test * Adjust PR CI includes --- .github/azure-steps.yml | 3 ++- azure-pipelines.yml | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/azure-steps.yml b/.github/azure-steps.yml index c47e9799e..823509888 100644 --- a/.github/azure-steps.yml +++ b/.github/azure-steps.yml @@ -94,7 +94,8 @@ steps: - 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')" - 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' condition: eq(variables['python_version'], '3.8') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 844946845..245407189 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,10 +13,13 @@ trigger: - "*.md" pr: paths: - exclude: - - "website/*" - - "*.md" include: + - "*.cfg" + - "*.py" + - "*.toml" + - "*.yml" + - ".github/azure-steps.yml" + - "spacy/*" - "website/meta/universe.json" jobs: