test: presubmit against Lite samples#425
Conversation
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
c3edc6e to
2a00008
Compare
f3b3508 to
0000c3d
Compare
0000c3d to
844d329
Compare
|
The test was run and passed. See Highlighting a few areas for reviewers to comment:
|
I think if you rename the check on the internal config side it will show up as a separate check and not overwrite the existing presubmit.
Do you think it's possible for a breaking change to only be noticeable in one Python version but not the others? If so, you can add the others. If you think it's unlikely I think it's OK to just have 3.6. :) |
busunkim96
left a comment
There was a problem hiding this comment.
Once the Kokoro status check has been renamed please add it to the repo settings config so it is marked required. https://github.com/googleapis/python-pubsub/blob/master/.github/sync-repo-settings.yaml#L7
|
Thank you! Internal change (cl/378896781) submitted.
It's unlikely AFAIK. Having just 3.6 should be enough. |
plamut
left a comment
There was a problem hiding this comment.
This check is very welcome, thanks for adding it!
I see that it has already been merged, but please double check if we gather the status code at the right place?
| deactivate py-3.6 | ||
| rm -rf py-3.6/ | ||
|
|
||
| EXIT=$? |
There was a problem hiding this comment.
Maybe I'm missing something, but wouldn't this only check the status code of the last command, i.e. rm -rf py-3.6/ ? Shouldn't this be placed right after the python -m pytest quickstart_test.py line instead?
There was a problem hiding this comment.
There was a problem hiding this comment.
Ah that sounds right to me. @anguillanneuf Could you move up the EXIT=$? line to after python -m pytest ...?
Add a presubmit test to run against samples in https://github.com/googleapis/python-pubsublite.
This is to prevent future development here from breaking
python-pubsubliteunknowingly, which has happened before in version 2.4.0: https://pypi.org/project/google-cloud-pubsub/#historyHard-coded
pytestcode instead of usingnox.