Skip to content

Commit 627fa17

Browse files
chore: fail samples nox session if python version is missing (#179)
1 parent a66b340 commit 627fa17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cloudbuild/snippets/noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
9898
"True",
9999
"true",
100100
)
101+
102+
# Error if a python version is missing
103+
nox.options.error_on_missing_interpreters = True
104+
101105
#
102106
# Style Checks
103107
#

0 commit comments

Comments
 (0)