Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
74d054a
changes without context
yoshi-automation Nov 17, 2020
d34bc05
chore(py_library): add split_system_tests
yoshi-automation Nov 17, 2020
531ab15
chore(py_library): add some excludes in docs/conf.py
yoshi-automation Nov 17, 2020
5d64a0b
chore(py-library): enable snippet-bot
yoshi-automation Nov 17, 2020
79d8825
chore(py-library): update decrypt secrets file
yoshi-automation Nov 17, 2020
058efe4
chore(python-library): use sphinx 1.5.5 for the docfx job
yoshi-automation Nov 17, 2020
b8cfd71
build(python): use release-publish app for notifying GitHub of releas…
yoshi-automation Nov 17, 2020
657ca3d
build(python): add secret manager in kokoro
yoshi-automation Nov 17, 2020
4b3cb96
chore(python): add sphinx doctest extension
yoshi-automation Nov 17, 2020
4b425e2
chore(python): remove note about editable installs
yoshi-automation Nov 17, 2020
86d636f
chore(python): skip reporting coverage for namespace package
yoshi-automation Nov 17, 2020
d428e50
chore(python): use BUILD_SPECIFIC_GCLOUD_PROJECT for samples
yoshi-automation Nov 17, 2020
7172e20
build(python): samples tests should pass if no samples exist
yoshi-automation Nov 17, 2020
538b77d
chore(python_library): change the docs bucket name
yoshi-automation Nov 17, 2020
0436edb
chore(docs): update code of conduct of synthtool and templates
yoshi-automation Nov 17, 2020
ab8074b
docs: add proto-plus to intersphinx mapping
yoshi-automation Nov 17, 2020
559ba0e
fix(python_library): fix external unit test dependencies
yoshi-automation Nov 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(py_library): add split_system_tests
Source-Author: Takashi Matsuo <tmatsuo@google.com>
Source-Date: Fri Jul 31 16:17:13 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669
Source-Link: googleapis/synthtool@bfcdbe0
  • Loading branch information
yoshi-automation committed Nov 17, 2020
commit d34bc05cf5367216b3a781258c9a26a6c21de956
8 changes: 7 additions & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ python3.6 -m pip uninstall --yes --quiet nox-automation
python3.6 -m pip install --upgrade --quiet nox
python3.6 -m nox --version

python3.6 -m nox
# If NOX_SESSION is set, it only runs the specified session,
# otherwise run all the sessions.
if [[ -n "${NOX_SESSION:-}" ]]; then
python3.6 -m nox -s "${NOX_SESSION:-}"
else
python3.6 -m nox
fi
4 changes: 4 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ def system(session):
"""Run the system test suite."""
system_test_path = os.path.join("tests", "system.py")
system_test_folder_path = os.path.join("tests", "system")

# Check the value of `RUN_SYSTEM_TESTS` env var. It defaults to true.
if os.environ.get("RUN_SYSTEM_TESTS", "true") == "false":
session.skip("RUN_SYSTEM_TESTS is set to false, skipping")
# Sanity check: Only run tests if the environment variable is set.
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
session.skip("Credentials must be set via environment variable")
Expand Down
2 changes: 1 addition & 1 deletion synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "39b527a39f5cd56d4882b3874fc08eed4756cebe"
"sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669"
}
}
],
Expand Down