From 6252f2cd074c38f37b44abe5e96d128733eb1b61 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 9 Aug 2021 17:30:12 -0400 Subject: [PATCH] chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (#1176) Fixes #988 --- synthtool/gcp/templates/python_samples/noxfile.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/python_samples/noxfile.py.j2 b/synthtool/gcp/templates/python_samples/noxfile.py.j2 index 6a8ccdae2..125bb619c 100644 --- a/synthtool/gcp/templates/python_samples/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_samples/noxfile.py.j2 @@ -96,7 +96,7 @@ IGNORED_VERSIONS = TEST_CONFIG['ignored_versions'] TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) -INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) +INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ("True", "true") # # Style Checks #