Skip to content

Commit

Permalink
chore: Add pre-release testing for google-auth in the monorepo (#1824)
Browse files Browse the repository at this point in the history
chore: Add pre-release testing for google-auth in the monorepo. Add print statement for the google-auth version used for testing.

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
clundin25 and parthea committed Jul 5, 2023
1 parent 7972bea commit d5149b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ def prerelease_deps(session):
"python", "-c", "import google.protobuf; print(google.protobuf.__version__)"
)
session.run("python", "-c", "import grpc; print(grpc.__version__)")
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ def prerelease_deps(session):
"grpcio!=1.52.0rc1",
"grpcio-status",
"google-api-core",
"google-auth",
"proto-plus",
"google-cloud-testutils",
# dependencies of google-cloud-testutils"
Expand All @@ -460,7 +461,6 @@ def prerelease_deps(session):
# Remaining dependencies
other_deps = [
"requests",
"google-auth",
]
session.install(*other_deps)

Expand All @@ -469,6 +469,7 @@ def prerelease_deps(session):
"python", "-c", "import google.protobuf; print(google.protobuf.__version__)"
)
session.run("python", "-c", "import grpc; print(grpc.__version__)")
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")

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

Expand Down

0 comments on commit d5149b0

Please sign in to comment.