Fix smoke tests parsing issue by adding smoke_tests.sql and husky pre…#60
Fix smoke tests parsing issue by adding smoke_tests.sql and husky pre…#60sanketdisale871 wants to merge 2 commits intoSamagra-Development:mainfrom
Conversation
There was a problem hiding this comment.
Do we need this file ?
There was a problem hiding this comment.
node_modules/husky/README.md
Outdated
There was a problem hiding this comment.
Do we need this file ?
There was a problem hiding this comment.
Do we need this file ?
There was a problem hiding this comment.
jayanth-kumar-morem
left a comment
There was a problem hiding this comment.
Could you please add comments to your code? It would help others understand the functionality better.
|
Thank you @sanketdisale871 for your work on this pull request. The addition of a dedicated .sql file for smoke tests and the implementation of a husky pre-commit hook for SQL syntax validation are great improvements. To fully integrate these changes into our workflow, could you please also update our GitHub Actions workflow to use the new Please let me know if you need any assistance with this. Thanks again for your contribution. CC: @ChakshuGautam |
|
I need assistance. |
|
Sure @sanketdisale871 Instead of writing Here's a sample code |
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
All the SQL queries you have deleted from github/workflows/smoke-test.yml should add back to this file.
Pull Request Description:
Fix Smoke Tests Parsing Issue
This pull request addresses issue #55.
Issue Description:
Currently, the smoke tests included in the workflow can lead to parsing issues when updates are made. This occurs due to the absence of a dedicated file for smoke tests and lack of validation for its SQL syntax.
Solution:
To resolve this issue, the following changes have been implemented:
The husky pre-commit hook ensures that the smoke_tests.sql file contains valid SQL syntax before committing any changes. This proactive validation helps to avoid parsing issues and ensures the integrity of the smoke tests.
Please review these changes and provide your feedback.