Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
landrito committed Aug 22, 2017
1 parent e6de701 commit 5645e4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlp/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@

from __future__ import absolute_import

import nox
import os

import nox


@nox.session
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
Expand Down Expand Up @@ -44,6 +45,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', ''):
print(session)
session.skip('Credentials must be set via environment variable.')

# Run unit tests against all supported versions of Python.
Expand Down

0 comments on commit 5645e4b

Please sign in to comment.