Skip to content

Commit db15948

Browse files
committed
chore: update noxfile to parametrize conformance tests
1 parent d93c972 commit db15948

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/google-cloud-storage/noxfile.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,18 @@ def unit(session):
176176

177177

178178
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
179-
def system(session):
179+
@nox.parametrize(
180+
"test_type",
181+
["system", "conformance", "conformance_bidi"],
182+
)
183+
def system(session, test_type):
184+
if test_type == "conformance":
185+
conftest_retry(session)
186+
return
187+
if test_type == "conformance_bidi":
188+
conftest_retry_bidi(session)
189+
return
190+
180191
constraints_path = str(
181192
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
182193
)

0 commit comments

Comments
 (0)