Skip to content

Commit 51f9d6a

Browse files
authored
Skipping system tests when credentials env. var is unset. (#3475)
1 parent 47ee9d8 commit 51f9d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nox.py

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

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

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

0 commit comments

Comments
 (0)