Skip to content

Commit b4c3c33

Browse files
authored
Skipping system tests when credentials env. var is unset. (#3475)
1 parent 2a33ba2 commit b4c3c33

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-error-reporting

1 file changed

+1
-1
lines changed

packages/google-cloud-error-reporting/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)