Skip to content

Commit b6aa9db

Browse files
authored
Skipping system tests when credentials env. var is unset. (#3475)
1 parent 285c291 commit b6aa9db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/google-cloud-speech

packages/google-cloud-speech/nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def system_tests(session, python_version):
4949

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

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

0 commit comments

Comments
 (0)