From 924cbc970328af4fcaf0af9ac45bafc4f6d712b3 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 1 Oct 2024 16:08:06 +0200 Subject: [PATCH] Fix environment variable for test --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f7ff9254..ee2b191a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -147,7 +147,9 @@ jobs: - name: "Test assemble CLI" run: | 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 + python -m spacy assemble ner_source_sm.cfg output_dir + env: + PYTHONWARNINGS: "error,ignore::DeprecationWarning" if: matrix.python_version == '3.9' - name: "Test assemble CLI vectors warning"