mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 21:25:25 +00:00 
			
		
		
		
	Use cargo nextest on CI
This commit is contained in:
		
							parent
							
								
									78aee2a424
								
							
						
					
					
						commit
						26dc35d681
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/ci.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yaml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -105,6 +105,8 @@ jobs:
 | 
			
		|||
      - name: Cache Dependencies
 | 
			
		||||
        uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
 | 
			
		||||
 | 
			
		||||
      - uses: taiki-e/install-action@nextest
 | 
			
		||||
 | 
			
		||||
      - name: Bump opt-level
 | 
			
		||||
        if: matrix.os == 'ubuntu-latest'
 | 
			
		||||
        run: sed -i '/\[profile.dev]/a opt-level=1' Cargo.toml
 | 
			
		||||
| 
						 | 
				
			
			@ -122,7 +124,7 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - name: Test
 | 
			
		||||
        if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' || github.event_name == 'push'
 | 
			
		||||
        run: cargo test -- --quiet
 | 
			
		||||
        run: cargo nextest run --no-fail-fast --hide-progress-bar --status-level fail
 | 
			
		||||
 | 
			
		||||
      - name: Switch to stable toolchain
 | 
			
		||||
        run: |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue