-
Notifications
You must be signed in to change notification settings - Fork 508
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
chore: Separate installer CI tests #3584
Conversation
52632ba
to
6763ec6
Compare
@twpayne I have a few questions if I may:
Of course, I would revert the changes I made to the install scripts before merging. I just did that to trigger the new tests. |
It's safe to keep it for sure. As
No, I think you're right to remove them. The tests you've added in this PR give better coverage anyway. |
Okay, I'll revert the comments I added to the scripts and add a few more tweaks and it should be good to merge. I think the |
6763ec6
to
bc7d1c7
Compare
That's fine. It's OK to break things on |
This line: will still cause - - 'internal/**'
+ - 'internal/archivetest/**'
+ - 'internal/chezmoi/**'
+ - 'internal/chezmoiassert/**'
+ - 'internal/chezmoibubbles/**'
+ - 'internal/chezmoierrors/**'
+ - 'internal/chezmoigit/**'
+ - 'internal/chezmoilog/**'
+ - 'internal/chezmoimaps/**'
+ - 'internal/chezmoitest/**'
+ - 'internal/cmd/**'
+ - 'internal/cmds/execute-template/**'
+ - 'internal/cmds/lint-commit-messages/**'
+ - 'internal/cmds/lint-txtar/**'
+ - 'internal/cmds/lint-whitespace/**' |
Thanks. In the absence of a better solution, let's leave things as they are for the moment. |
This was bugging me so I had another look. Normally, I would expect that With this knowledge, I set up a minimal repo to test, and it seems to work as expected with - 'internal/**/!(install.sh.tmpl)' ❯ tree
.
├── .github
│ └── workflows
│ ├── installer.yml
│ └── main.yml
└── internal
└── cmds
└── generate-install.sh
├── install.sh.tmpl
├── main.go
└── main_test.go I added a step to each workflow file to echo the matched files. When I commit and push the
I'm happy to open the PR if you like the change. |
Yes, this is nice. Please do! |
Refs #3366 (comment)
Experimental. I fully expect it to fail.