Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Support running from a worktree #30028

Open
maflcko opened this issue May 3, 2024 · 1 comment
Open

ci: Support running from a worktree #30028

maflcko opened this issue May 3, 2024 · 1 comment
Labels

Comments

@maflcko
Copy link
Member

maflcko commented May 3, 2024

Currently, when running the CI from a worktree, it will fail with:

++ git config --global ci.base-install-done
fatal: not a git repository: .git/worktrees/test2

git config --global is used here, because it allows to write a flag to storage on macOS and Linux. If someone knows of a different way to persist a flag on macOS and Linux, it should be used instead.

@maflcko maflcko added the Tests label May 3, 2024
@maflcko
Copy link
Member Author

maflcko commented May 3, 2024

I guess macos can just be skipped, as it will never run the base-install twice, so doesn't need caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant