Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 11, 2024
1 parent c09bd21 commit aded9f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/shift_scheduling_sat_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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|
Expand Down

0 comments on commit aded9f8

Please sign in to comment.