Skip to content

Commit

Permalink
temporary fix: point 'yesterday()' to where 'forc-submit` exists
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiedotwtf committed Nov 18, 2024
1 parent cdb0788 commit 1efdbb0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/testcfg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,11 @@ pub static ALL_BINS: &[&str] = &[
/// assert!(re.is_match(&yesterday));
/// ```
pub fn yesterday() -> String {
// CI failed building linux binaries on 2024-10-25 which happens to be
// "yesterday" when I'm trying to push this PR, so we need to override this
// temporarily to pass CI over the weekend. I'll be merging on top of this
// PR in the next few days and will remove this temporary fix

let current_date = Utc::now();
let yesterday = current_date - Duration::days(1);
let _ = yesterday.format("%Y-%m-%d").to_string();
"2024-10-23".to_string()
// TODO: point to a nightly that has `forc-submit`
"2024-11-16".to_string()
}

impl TestCfg {
Expand Down

0 comments on commit 1efdbb0

Please sign in to comment.