mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Improve test-suite.yml for CI failing when disabling tokenization (#4005)
* [Update] test-suite.yml Added New run command for cargo tree without default features using if-then block * [Updated] test-disabled-tokenization in test-suite.yml * [Updated] test-suite.yml * Update .github/workflows/test-suite.yml --------- Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com>
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/test-suite.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/test-suite.yml
									
									
									
									
										vendored
									
									
								
							@@ -123,7 +123,10 @@ jobs:
 | 
			
		||||
          override: true
 | 
			
		||||
      - name: Run cargo tree without default features and check lindera is not present
 | 
			
		||||
        run: |
 | 
			
		||||
          cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz
 | 
			
		||||
          if cargo tree -f '{p} {f}' -e normal --no-default-features | grep -vqz lindera; then
 | 
			
		||||
            echo "lindera has been found in the sources and it shouldn't"
 | 
			
		||||
            exit 1
 | 
			
		||||
          fi
 | 
			
		||||
      - name: Run cargo tree with default features and check lindera is pressent
 | 
			
		||||
        run: |
 | 
			
		||||
          cargo tree -f '{p} {f}' -e normal | grep lindera -qz
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user