mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Fix environment variable for test
This commit is contained in:
		
							parent
							
								
									e1d050517d
								
							
						
					
					
						commit
						924cbc9703
					
				
							
								
								
									
										4
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							|  | @ -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" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user