Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pnordahl committed Nov 14, 2024
1 parent 2072498 commit ef4b900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
mkdir -p $MONORAIL_TEST_DIR
ls -ld "$MONORAIL_TEST_DIR"
chmod 755 "$MONORAIL_TEST_DIR"
stat "$MONORAIL_TEST_DIR"
which bash
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"
Expand Down
6 changes: 1 addition & 5 deletions src/core/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ pub(crate) const TEST_CONFIG: &str = r#"

pub(crate) fn new_testdir() -> Result<tempfile::TempDir, std::io::Error> {
match std::env::var("MONORAIL_TEST_DIR") {
Ok(v) => {
std::fs::create_dir_all(&v)?;
dbg!(&v, std::fs::metadata(&v).unwrap());
tempfile::tempdir_in(v)
}
Ok(v) => tempfile::tempdir_in(v),
Err(_) => tempfile::tempdir(),
}
}
Expand Down

0 comments on commit ef4b900

Please sign in to comment.