This repository was archived by the owner on Sep 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,10 @@ python3.6 -m pip uninstall --yes --quiet nox-automation
3636python3.6 -m pip install --upgrade --quiet nox
3737python3.6 -m nox --version
3838
39- python3.6 -m nox
39+ # If NOX_SESSION is set, it only runs the specified session,
40+ # otherwise run all the sessions.
41+ if [[ -n " ${NOX_SESSION:- } " ]]; then
42+ python3.6 -m nox -s " ${NOX_SESSION:- } "
43+ else
44+ python3.6 -m nox
45+ fi
Original file line number Diff line number Diff line change @@ -100,6 +100,10 @@ def system(session):
100100 """Run the system test suite."""
101101 system_test_path = os .path .join ("tests" , "system.py" )
102102 system_test_folder_path = os .path .join ("tests" , "system" )
103+
104+ # Check the value of `RUN_SYSTEM_TESTS` env var. It defaults to true.
105+ if os .environ .get ("RUN_SYSTEM_TESTS" , "true" ) == "false" :
106+ session .skip ("RUN_SYSTEM_TESTS is set to false, skipping" )
103107 # Sanity check: Only run tests if the environment variable is set.
104108 if not os .environ .get ("GOOGLE_APPLICATION_CREDENTIALS" , "" ):
105109 session .skip ("Credentials must be set via environment variable" )
Original file line number Diff line number Diff line change 1919 "git": {
2020 "name": "synthtool",
2121 "remote": "https://github.com/googleapis/synthtool.git",
22- "sha": "39b527a39f5cd56d4882b3874fc08eed4756cebe "
22+ "sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669 "
2323 }
2424 },
2525 {
2626 "git": {
2727 "name": "synthtool",
2828 "remote": "https://github.com/googleapis/synthtool.git",
29- "sha": "39b527a39f5cd56d4882b3874fc08eed4756cebe "
29+ "sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669 "
3030 }
3131 }
3232 ],
You can’t perform that action at this time.
0 commit comments