We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1432261 commit c1d9c40Copy full SHA for c1d9c40
.github/scripts/upload_tests_results.py
@@ -241,13 +241,16 @@ def main():
241
'test_name': row['test_name'],
242
})
243
print(f'upserting runs: {len(prepared_for_update_rows)} rows')
244
-
245
- with ydb.SessionPool(driver) as pool:
246
- create_tables(pool, test_table_name)
247
- bulk_upsert(driver.table_client, full_path,
+ if prepared_for_update_rows:
+ with ydb.SessionPool(driver) as pool:
+ create_tables(pool, test_table_name)
+ bulk_upsert(driver.table_client, full_path,
248
prepared_for_update_rows)
249
+ print('tests updated')
250
+ else:
251
+ print('nothing to upsert')
252
- print('tests updated')
253
+
254
255
256
if __name__ == "__main__":
0 commit comments