bash-it
bash-it copied to clipboard
tests: Use git worktree correctly
git worktree -d does not work on all versions of git worktree
this seems to resolve my problems running the tests locally
Description
After debugging the tests_setup a bit, I found out that git worktree call failed. After further testing, it seems like the -d
flag was responsible for the failures
Motivation and Context
Closes #2115
How Has This Been Tested?
By running the tests :)
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
nope, seems like there is something else in play here
nope, seems like there is something else in play here
Hey, @NoahGorny I tried testing on Monterey and didn't get any errors. Could it be specific to big sur?
yes, I have big sur and it happens to me locally aswell. not sure how to debug && fix