Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 61f9460

Browse files
committed
build: reduce build time
1 parent 3943885 commit 61f9460

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,8 @@ def system(session, protobuf_implementation, database_dialect):
323323
session.skip(
324324
"Credentials or emulator host must be set via environment variable"
325325
)
326-
# If POSTGRESQL tests and Emulator, skip the tests
327-
if os.environ.get("SPANNER_EMULATOR_HOST") and database_dialect == "POSTGRESQL":
328-
session.skip("Postgresql is not supported by Emulator yet.")
326+
if not os.environ.get("SPANNER_EMULATOR_HOST"):
327+
session.skip("only run system tests on the emulator to speed the build up")
329328

330329
# Install pyopenssl for mTLS testing.
331330
if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") == "true":

0 commit comments

Comments
 (0)