-
Notifications
You must be signed in to change notification settings - Fork 11
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
Bash ver tests #8
Conversation
The commit description describes why changes were made, but to summarize:
|
Thanks for the great work! I'm interested in seeing if we can get the same checks as GitHub Actions to keep it consistent with the existing tests. Been very busy at work, so this may take a couple of days. If that is going to be a lot of work, I'll just merge your changes in as is (any CI is better than no CI 😃 ) |
I quickly tested running the same on GitHub Actions: https://github.com/Checksum/critic.sh/blob/master/.github/workflows/main.yml#L16-L20 |
Makes sense. I'll take a peak at adjusting my existing PR to use github actions instead. I'll either update this pr with appropriate commit(s) or add comment(s) describing any hurdles I'm seeing. The main difference I can think of offhand: it'll be easier to use Alpine containers for Bash 4.2 and below. I discovered earlier Debian versions don't work out-of-the-box with github actions because they have trouble installing the minimum node version github actions requires. I can think of some possible workarounds, but I think using Alpine is the easiest/cleanest solution. The final results would look something like this
I'll aim to investigate this week |
* removing circleci * split shellcheck and tests. add test matrix * print bash version Co-authored-by: localstepdo <[email protected]>
Switching to github actions was easier than I anticipated 👍 |
LGTM, thanks for picking this up! |
running automated tests for various bash versions
this starts to resolve issue #5