Skip to content

Commit f07b8de

Browse files
chore: fail samples nox session if python version is missing (#137)
1 parent 751d992 commit f07b8de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
3-
digest: sha256:87eee22d276554e4e52863ec9b1cb6a7245815dfae20439712bf644348215a5a
3+
digest: sha256:82b12321da4446a73cb11bcb6812fbec8c105abda3946d46e6394e5fbfb64c0f

packages/google-cloud-trace/samples/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)