Skip to content

Commit

Permalink
chore: fail samples nox session if python version is missing (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] authored and dandhlee committed Nov 9, 2022
1 parent b50a261 commit 7567d56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions monitoring/snippets/v3/alerts-client/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
"True",
"true",
)

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

#
# Style Checks
#
Expand Down
4 changes: 4 additions & 0 deletions monitoring/snippets/v3/cloud-client/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
"True",
"true",
)

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

#
# Style Checks
#
Expand Down
4 changes: 4 additions & 0 deletions monitoring/snippets/v3/uptime-check-client/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
"True",
"true",
)

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

#
# Style Checks
#
Expand Down

0 comments on commit 7567d56

Please sign in to comment.