From aded9f8b60251f855eabab88bcaef5262d5de7f1 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 10 Nov 2024 19:13:10 -0800 Subject: [PATCH] Fixed CI --- test/shift_scheduling_sat_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shift_scheduling_sat_test.rb b/test/shift_scheduling_sat_test.rb index 86306ce..d1291b3 100644 --- a/test/shift_scheduling_sat_test.rb +++ b/test/shift_scheduling_sat_test.rb @@ -2,6 +2,8 @@ class ShiftSchedulingSatTest < Minitest::Test def test_shift_scheduling_sat + skip if ENV["RUBY_MEMCHECK_RUNNING"] + num_employees = 8 num_weeks = 3 shifts = %w[O M A N] @@ -205,7 +207,7 @@ def test_shift_scheduling_sat # status = solver.solve_with_solution_callback(model, solution_printer) status = solver.solve(model) - assert_includes [:feasible, :optimal, :unknown], status + assert_includes [:feasible, :optimal], status assert_operator solver.objective_value, :<=, 400 _assignments = num_employees.times.map do |e|