Skip to content

Commit

Permalink
fix(ci): git test for the ic repo does not work within bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Jan 4, 2024
1 parent 51677d2 commit fb5fdd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rs/ic-management-backend/src/git_ic_repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,10 @@ impl IcRepo {
mod tests {
use super::*;

#[ignore]
#[test]
fn test_get_branches_with_nonexistent_commit() {
// TODO: mock the git repo so we don't have to clone the whole thing
let mut ic_repo = IcRepo::new().unwrap();
let branches = ic_repo.get_branches_with_commit("80a6745673a28ee53d257b3fe19dcd6b7efa93d1");
assert!(branches.is_ok());
Expand Down

0 comments on commit fb5fdd6

Please sign in to comment.