Skip to content

Commit

Permalink
chore: fail samples nox session if python version is missing (#1225)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
busunkim96 and parthea authored Sep 30, 2021
1 parent 595dbf0 commit 59dce5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions synthtool/gcp/templates/python_samples/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", Fals
"True",
"true",
)

# Error if a python version is missing
nox.options.error_on_missing_interpreters = True

#
# Style Checks
#
Expand Down

0 comments on commit 59dce5b

Please sign in to comment.