File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 3636        #install other dependencies 
3737        conda install pytorch torchvision cpuonly -c ${{ matrix.pytorch-channel }} 
3838        pip install -r requirements-dev.txt 
39-         # Fixes #1153 
40-         pip install --upgrade scipy==1.4.1 
4139        pip install horovod 
4240        python setup.py install 
4341       
4644      run : | 
4745        SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} CI_PYTHON_VERSION="${{ matrix.python-version }}" bash tests/run_cpu_tests.sh 
4846               
47+      - name : Upload coverage to Codecov 
48+       uses : codecov/codecov-action@v1 
49+       with :
50+         file : ./coverage.xml 
51+         flags : hvd-cpu 
52+         fail_ci_if_error : true 
Original file line number Diff line number Diff line change 6868      run : | 
6969        SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} CI_PYTHON_VERSION="${{ matrix.python-version }}" bash tests/run_cpu_tests.sh 
7070
71+      - name : Upload coverage to Codecov 
72+       uses : codecov/codecov-action@v1 
73+       with :
74+         file : ./coverage.xml 
75+         flags : cpu 
76+         fail_ci_if_error : true 
77+ 
7178    - name : Run MNIST Examples 
7279      shell : bash -l {0} 
7380      run : | 
Original file line number Diff line number Diff line change 88    skip_distrib_opt=(-m " "  )
99fi 
1010
11- CUDA_VISIBLE_DEVICES=" "   py.test --tx 4* popen//python=python${CI_PYTHON_VERSION:- 3.7}  --cov ignite --cov-report term-missing -vvv tests " ${skip_distrib_opt[@]} " 
11+ CUDA_VISIBLE_DEVICES=" "   py.test --tx 4* popen//python=python${CI_PYTHON_VERSION:- 3.7}  --cov ignite --cov-report term-missing --cov-report xml - vvv tests " ${skip_distrib_opt[@]} " 
1212
1313#  https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02
1414if  [ " ${SKIP_DISTRIB_TESTS:- 0} "   -eq  " 1"   ];  then 
1818export  WORLD_SIZE=2
1919
2020
21- CUDA_VISIBLE_DEVICES=" "   py.test --cov ignite --cov-append --cov-report term-missing --dist=each --tx $WORLD_SIZE * popen//python=python${CI_PYTHON_VERSION:- 3.7}  tests -m distributed -vvv
21+ CUDA_VISIBLE_DEVICES=" "   py.test --cov ignite --cov-append --cov-report term-missing --cov-report xml -- dist=each --tx $WORLD_SIZE * popen//python=python${CI_PYTHON_VERSION:- 3.7}  tests -m distributed -vvv
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments