File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,29 @@ jobs:
4747        with :
4848          cache-on-failure : true 
4949
50-       - name : Set up Rust 
51-         uses : dtolnay/rust-toolchain@master 
52-         with :
53-           toolchain : ${{ matrix.rust }} 
50+       - name : Set up Rust (nightly) 
51+         if : matrix.rust == 'nightly' 
52+         uses : dtolnay/rust-toolchain@nightly 
53+         
54+       - name : Set up Rust (stable) 
55+         if : matrix.rust == 'stable' 
56+         uses : dtolnay/rust-toolchain@stable 
5457
5558      - name : Install fish (Linux) 
5659        if : startsWith(matrix.os, 'ubuntu') 
57-         run : sudo apt install fish 
60+         run : sudo apt update && sudo apt  install -y  fish 
5861
5962      - name : Install fish (macOS) 
6063        if : startsWith(matrix.os, 'macos') 
6164        run : brew install fish 
6265
6366      - name : Run integration tests 
67+         if : env.OPENAI_API_KEY != '' 
6468        run : fish ./scripts/integration-tests 
69+         
70+       - name : Skip integration tests (no API key) 
71+         if : env.OPENAI_API_KEY == '' 
72+         run : echo "Skipping integration tests - no OPENAI_API_KEY configured" 
6573
6674      - name : Run cargo test 
6775        run : cargo test 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments