Skip to content

Commit 4c87d81

Browse files
Skip flaky performance tests in CI (#1186)
1 parent 08d5c05 commit 4c87d81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_matrix_variable.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def test_matrix_sum_result(axis, keepdims):
258258
assert np_res.shape == scip_res.shape
259259

260260

261+
@pytest.mark.skip(reason="Performance test")
261262
@pytest.mark.parametrize("n", [100])
262263
def test_matrix_sum_axis_is_none_performance(n):
263264
model = Model()
@@ -272,6 +273,7 @@ def test_matrix_sum_axis_is_none_performance(n):
272273
assert model.isGE(orig * 1.25, matrix)
273274

274275

276+
@pytest.mark.skip(reason="Performance test")
275277
@pytest.mark.parametrize("n", [100])
276278
def test_matrix_sum_axis_not_none_performance(n):
277279
model = Model()
@@ -286,6 +288,7 @@ def test_matrix_sum_axis_not_none_performance(n):
286288
assert model.isGE(orig * 1.25, matrix)
287289

288290

291+
@pytest.mark.skip(reason="Performance test")
289292
@pytest.mark.parametrize("n", [100])
290293
def test_matrix_mean_performance(n):
291294
model = Model()
@@ -308,6 +311,7 @@ def test_matrix_mean():
308311
assert isinstance(x.mean(1), MatrixExpr)
309312

310313

314+
@pytest.mark.skip(reason="Performance test")
311315
@pytest.mark.parametrize("n", [100])
312316
def test_matrix_dot_performance(n):
313317
model = Model()

0 commit comments

Comments
 (0)