Skip to content

Commit

Permalink
Make None schedule types match continuous_stable
Browse files Browse the repository at this point in the history
Summary: This is needed so we won't skip some of the build/test jobs in continuous_stable

Reviewed By: Acesine

Differential Revision: D59776490

fbshipit-source-id: 6d962d32bccba10258cbd36d296e4df7162a5b18
  • Loading branch information
Reza Barazesh authored and facebook-github-bot committed Jul 18, 2024
1 parent 88db9bf commit 19a30c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions td_util/src/schedules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ impl ScheduleType {
ScheduleType::Testwarden | ScheduleType::Continuous | ScheduleType::Diff
)
}
ScheduleType::ContinuousStable => {
matches!(
other,
ScheduleType::ContinuousStable | ScheduleType::Continuous | ScheduleType::Diff
)
}
_ => *other == self,
}
}
Expand Down

0 comments on commit 19a30c8

Please sign in to comment.