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

Fix script path and update to run with bash #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

omkardongre
Copy link

This pull request addresses two improvements to the integration script run-integration.sh:

Corrected Script Path: The relative path to wait-for-it.sh has been updated to ensure it's referenced correctly within run-integration.sh.
Enforced Bash Execution: By default, GitHub Actions uses the sh shell, which can cause issues with script wait-for-it.sh due to its Bash-specific syntax. This PR modifies the execution to use bash explicitly, preventing these syntax errors.
This update ensures the integration script runs smoothly and avoids potential errors due to incorrect paths and shell interpretation.

Updated the path in `run-integration.sh` to use the correct relative
path for `wait-for-it.sh`.

By default, GitHub Actions uses the `sh` shell to execute scripts,
which leads to syntax errors when running the `wait-for-it.sh` script
because it contains Bash-specific syntax.
Changed the execution of `wait-for-it.sh` to use `bash` instead of `sh`
to avoid these syntax errors.
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