Skip to content

Commit

Permalink
build(python): remove system tests from prerelease_deps nox session
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Sep 22, 2023
1 parent b9b4907 commit be1fbd9
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions synthtool/gcp/templates/python_mono_repo_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -472,24 +472,3 @@ def prerelease_deps(session):
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")

session.run("py.test", "tests/unit")

system_test_path = os.path.join("tests", "system.py")
system_test_folder_path = os.path.join("tests", "system")

# Only run system tests if found.
if os.path.exists(system_test_path):
session.run(
"py.test",
"--verbose",
f"--junitxml=system_{session.python}_sponge_log.xml",
system_test_path,
*session.posargs,
)
if os.path.exists(system_test_folder_path):
session.run(
"py.test",
"--verbose",
f"--junitxml=system_{session.python}_sponge_log.xml",
system_test_folder_path,
*session.posargs,
)

0 comments on commit be1fbd9

Please sign in to comment.