-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update example apps #13
Conversation
sfc-gh-pjafari
commented
Aug 29, 2024
•
edited
Loading
edited
- add missing readme files
- remove "create security integration" step from spcs example as it's no longer needed. See jira ticker
@@ -1,5 +1,4 @@ | |||
set -e | |||
snow sql -f "prepare/spcs_setup.sql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we removing this? Maybe some context would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's no longer needed. updated PR description with Jira ticket :)
https://snowflakecomputing.atlassian.net/browse/SNOW-1527720
if [ "$ret" = 5 ]; then | ||
echo "No tests collected." | ||
exit 0 | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious: how did you run into this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question :D not all sample projects have python code/python tests. by default, pytest exits with error code 5 if that's the case.
The action is still not passing though so I gotta look into it more (it worked when I tested locally).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, the workflow is failing. I'm a bit rusty, does GH pick up the new workflow from the PR, or would you have to merge this first? If it's running the version from main
, your fix won't take effect yet...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's running the ci from this PR, I can see my change in the action logs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the CI is known to be broken right now. So no worries about failing runs at the moment, just run the tests locally and confirm they're passing before merge.