Skip to content

Commit dac49cf

Browse files
authored
Merge pull request #394 from simvue-io/hotfix/share-ci-not-local-test-runs
Base sharing of tests on presence of CI variable
2 parents 10ee52a + 057d7a0 commit dac49cf

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)