Skip to content

Commit

Permalink
Skipping system tests when credentials env. var is unset. (#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes authored Jun 29, 2017
1 parent 7407c23 commit bead634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/google-cloud-python-speech/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def system_tests(session, python_version):

# Sanity check: Only run system tests if the environment variable is set.
if not os.environ.get('GOOGLE_APPLICATION_CREDENTIALS', ''):
return
session.skip('Credentials must be set via environment variable.')

# Run the system tests against latest Python 2 and Python 3 only.
session.interpreter = 'python{}'.format(python_version)
Expand Down

0 comments on commit bead634

Please sign in to comment.