This repository was archived by the owner on Nov 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
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 @@ -102,6 +102,10 @@ def system(session):
102102 """Run the system test suite."""
103103 system_test_path = os .path .join ("tests" , "system.py" )
104104 system_test_folder_path = os .path .join ("tests" , "system" )
105+
106+ # Check the value of `RUN_SYSTEM_TESTS` env var. It defaults to true.
107+ if os .environ .get ("RUN_SYSTEM_TESTS" , "true" ) == "false" :
108+ session .skip ("RUN_SYSTEM_TESTS is set to false, skipping" )
105109 # Sanity check: Only run tests if the environment variable is set.
106110 if not os .environ .get ("GOOGLE_APPLICATION_CREDENTIALS" , "" ):
107111 session .skip ("Credentials must be set via environment variable" )
Original file line number Diff line number Diff line change 33 {
44 "git": {
55 "name": ".",
6- "remote": "git@ github.com:tmatsuo /python-texttospeech.git",
7- "sha": "f69dc7feaa9933d4b0a734377270122e0843ffbf "
6+ "remote": "https:// github.com/googleapis /python-texttospeech.git",
7+ "sha": "8ee544740f18497d9925bcf77e5ab96695503589 "
88 }
99 },
1010 {
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