File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212  quick-benchmarks :
1313    runs-on : ubuntu-latest 
14+     defaults : 
15+       run :
16+         shell : bash -el {0} 
1417
1518    steps :
1619      - uses : actions/checkout@v4 
Original file line number Diff line number Diff line change 8989          REQUIREMENTS : ci/requirements-py${{ matrix.python-version }}${{ matrix.suffix }}.yml 
9090
9191      - name : List installed package versions 
92+         shell : bash -l {0}   #  necessary for conda env to be active
9293        run : conda list 
9394
9495      - name : Run tests 
96+         shell : bash -l {0}   #  necessary for conda env to be active
9597        env :
9698          #  copy GitHub Secrets into environment variables for the tests to access
9799          NREL_API_KEY : ${{ secrets.NRELAPIKEY }} 
Original file line number Diff line number Diff line change 5555
5656      - name : List installed package versions (conda) 
5757        if : matrix.environment-type == 'conda' 
58+         shell : bash -l {0}   #  necessary for conda env to be active
5859        run : micromamba list 
5960
6061      - name : Install bare Python ${{ matrix.python-version }}${{ matrix.suffix }} 
6566
6667      - name : Install pvlib 
6768        if : matrix.environment-type == 'conda' 
69+         shell : bash -l {0} 
6870        run : python -m pip install --no-deps . 
6971
7072      - name : Set up bare environment 
7476          pip freeze 
7577
7678       - name : Run tests 
79+         shell : bash -l {0}   #  necessary for conda env to be active
7780        run : | 
7881          # ignore iotools; those tests are run in a separate workflow 
7982          pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments