File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939
4040 - name : Test with pytest
4141 run : |
42- pytest --cov=allocator --cov-report=xml --cov-report=term-missing
42+ pytest --cov=allocator --cov-report=xml --cov-report=term-missing -v
4343
4444 - name : Upload coverage to Codecov
4545 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change 1717ROADS = resource_filename (__name__ , "chonburi-roads-50.csv" )
1818
1919
20+ def kahip_available ():
21+ """Check if KaHIP dependencies are available"""
22+ try :
23+ import kahipwrapper
24+ return True
25+ except ImportError :
26+ return False
27+
28+
2029@unittest .skipIf (os .name == 'nt' , 'KaHIP not available on Windows' )
30+ @unittest .skipIf (not kahip_available (), 'KaHIP dependencies not available' )
2131class TestClusterKaHIP (unittest .TestCase ):
2232
2333 def setUp (self ):
You can’t perform that action at this time.
0 commit comments