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

Add first-party support for & setup tests against zsh and dash #107

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

ryan-gang
Copy link
Collaborator

@ryan-gang ryan-gang commented Jan 21, 2025

This pull request introduces several changes to the testing workflows, Makefile, and internal test cases to support multiple shell environments and improve test coverage. The key changes include modifications to the GitHub Actions workflows, updates to the Makefile for new test targets and stages, and enhancements to the test cases to handle different shell-specific behaviors.

Workflow and Makefile updates:

  • .github/workflows/test.yml: Renamed test-alpine job to test-all-shells and added steps to install and test multiple shells, including bash, dash, and zsh. [1] [2] [3]
  • Makefile: Added tests_excluding_ash target to exclude ash from tests and restructured stage definitions using define and endef for better readability and maintenance. [1] [2] [3]

Test case enhancements:

Test coverage improvements:

@ryan-gang ryan-gang self-assigned this Jan 21, 2025
@ryan-gang ryan-gang changed the base branch from dep-upgrade to main January 22, 2025 10:37
@ryan-gang ryan-gang changed the base branch from main to dep-upgrade January 22, 2025 10:38
Base automatically changed from dep-upgrade to main January 23, 2025 14:12
…Makefile for improved readability and maintainability
…proved clarity; implement quoting function for stage arrays
@ryan-gang ryan-gang force-pushed the add-secondary-shells branch from fe0ec29 to c7497ab Compare January 23, 2025 14:16
@ryan-gang ryan-gang changed the title Setup tests against zsh and dash Add first-party support for & setup tests against zsh and dash Jan 24, 2025
@ryan-gang ryan-gang force-pushed the add-secondary-shells branch from 7df993f to bcd8e9b Compare January 24, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant