From 4d21d65cb25185a56ce3ba260d40fa8476c4fb7f Mon Sep 17 00:00:00 2001 From: Helen Cristina Date: Fri, 1 Dec 2023 10:59:13 +0000 Subject: [PATCH] tests: Update remaining systems to use a random Python version for tests (#1065) --- noxfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/noxfile.py b/noxfile.py index a45e2edec..fc2355c21 100644 --- a/noxfile.py +++ b/noxfile.py @@ -207,7 +207,7 @@ def integration_spanner(session): session.run("pytest", "tests/system/data_sources/test_spanner.py", *session.posargs) -@nox.session(python=PYTHON_VERSIONS, venv_backend="venv") +@nox.session(python=random.choice(PYTHON_VERSIONS), venv_backend="venv") def integration_teradata(session): """Run Teradata integration tests. Ensure Teradata validation is running as expected. @@ -235,7 +235,7 @@ def integration_state(session): session.run("pytest", test_path, *session.posargs) -@nox.session(python=PYTHON_VERSIONS, venv_backend="venv") +@nox.session(python=random.choice(PYTHON_VERSIONS), venv_backend="venv") def integration_oracle(session): """Run Oracle integration tests. Ensure Oracle validation is running as expected. @@ -271,7 +271,7 @@ def integration_hive(session): session.run("pytest", "tests/system/data_sources/test_hive.py", *session.posargs) -@nox.session(python=PYTHON_VERSIONS, venv_backend="venv") +@nox.session(python=random.choice(PYTHON_VERSIONS), venv_backend="venv") def integration_snowflake(session): """Run Snowflake integration tests. Ensure Snowflake validation is running as expected.