File tree Expand file tree Collapse file tree 3 files changed +114
-78
lines changed Expand file tree Collapse file tree 3 files changed +114
-78
lines changed Original file line number Diff line number Diff line change @@ -71,17 +71,15 @@ jobs:
7171      env :
7272        AIIDA_TEST_PROFILE : test_aiida 
7373        AIIDA_WARN_v3 : 1 
74-       #  NOTE1: Python 3.12 has a performance regression when running with code coverage
75-       #  so run code coverage only for python 3.9.
7674      run : | 
77-         pytest -n auto --db-backend ${{ matrix.database-backend }} -m 'not nightly' tests/ ${{ matrix.python-version == '3.9 ' && '--cov aiida' || '' }} 
75+         pytest -n auto --db-backend ${{ matrix.database-backend }} -m 'not nightly' tests/ ${{ matrix.python-version == '3.13 ' && '--cov aiida' || '' }} 
7876
7977name : Upload coverage report 
80-       if : matrix.python-version == 3.9  && github.repository == 'aiidateam/aiida-core' 
78+       if : matrix.python-version == 3.13  && github.repository == 'aiidateam/aiida-core' 
8179      uses : codecov/codecov-action@v5 
8280      with :
8381        token : ${{ secrets.CODECOV_TOKEN }} 
84-         name : aiida-pytests-py3.9  
82+         name : aiida-pytests-py3.13  
8583        files : ./coverage.xml 
8684        fail_ci_if_error : false   #  don't fail job, if coverage upload fails
8785
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ tests = [
277277  ' pytest-regressions~=2.2' 
278278  ' pytest-xdist~=3.6' 
279279  ' pympler~=1.0' 
280-   ' coverage~=7.0 ' 
280+   ' coverage~=7.10 ' 
281281  ' sphinx~=7.2.0' 
282282  ' docutils~=0.20' 
283283]
@@ -296,6 +296,7 @@ Home = 'http://www.aiida.net/'
296296Source  = ' https://github.com/aiidateam/aiida-core' 
297297
298298[tool .coverage .run ]
299+ core  = ' sysmon' 
299300omit  = [
300301  " src/aiida/tools/_dumping/**/*" 
301302]
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments