Uh oh!
There was an error while loading. Please reload this page.
Skipping system tests when credentials env. var is unset. - #3475
Conversation
| if not os.environ.get('GOOGLE_APPLICATION_CREDENTIALS', ''): | ||
| return | ||
| raise nox.command.CommandFailed( | ||
| reason='Credentials must be set via environment variable.') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Thoughts on this (sorry for the delay):
|
I'm totally happy to accept a PR to nox to add `session.skip(reason)`. |
lukesneeringer
commented
Jun 13, 2017
@dhermes Does that work for you? |
dhermes
commented
Jun 13, 2017
Yes I am OK with that. I don't have bandwidth to add that feature to |
Y'all can file a bug and I'll try to get to it while I'm bored at the hotel this week. |
dhermes
commented
Jun 13, 2017
Donezors: wntrblm/nox#34 |
6410981 to
ab0bc35Comparedhermes
commented
Jun 28, 2017
I just removed the "do not merge" label. @jonparrott I think this is read to go. PTAL? @lukesneeringer ISTM that we'll need our CircleCI image to have the latest version of @duggelz I have intentionally avoided linked to |
dhermes
commented
Jun 28, 2017
Update: currently waiting on @lukesneeringer to rebuild our Docker image, so we can ditch the (It's not a big hurry to merge this.) |
6519b5c to
2685c36Comparedhermes
commented
Jun 29, 2017
OK @lukesneeringer got us |
This is labeled "don't merge" because it is wrong in it's current state.
So @lukesneeringer@tseaver@jonparrott WDYT the "correct" form should be? We don't want it to raise on PRs, we want it to gracefully do nothing. Otherwise, this is a helpful message and status for people running tests locally with a "bad" setup.