Skip to content

Commit 057d7a0

Browse files
committed
Base sharing of tests on presence of CI variable
1 parent 8571492 commit 057d7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/refactor/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def setup_test_run(run: sv_run.Run, create_objects: bool, request: pytest.Fixtur
9090
name=f"test_run_{TEST_DATA['metadata']['test_identifier']}",
9191
tags=TEST_DATA["tags"],
9292
folder=TEST_DATA["folder"],
93-
visibility="tenant",
93+
visibility="tenant" if os.environ.get("CI") else None,
9494
retention_period="1 hour"
9595
)
9696
run._dispatcher._max_buffer_size = MAX_BUFFER_SIZE

0 commit comments

Comments
 (0)