File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,13 @@ def save_mappings(selected_container):
134
134
except ValueError :
135
135
# failsafe beta_version
136
136
beta_version = 0
137
+ # choose split number
138
+ beta_version %= 3
137
139
l10n_mappings = valid_l10n_mappings ()
138
140
sample_mappings = {k : v for k , v in l10n_mappings .items () if k .startswith ("demo" )}
141
+ if os .path .exists (f"l10n_CM/beta_run_splits/l10n_split_{ beta_version } .json" ):
142
+ with open (f"l10n_CM/beta_run_splits/l10n_split_{ beta_version } .json" , "w" ) as f :
143
+ l10n_mappings = json .load (f )
139
144
if os .environ .get ("TESTRAIL_REPORT" ) or os .environ .get ("MANUAL" ):
140
145
# Run all tests if this is a scheduled beta or a manual run
141
146
save_mappings (distribute_mappings_evenly (l10n_mappings , beta_version ))
You can’t perform that action at this time.
0 commit comments