Skip to content

Commit

Permalink
repleace unsupported file name
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmou99 committed Jul 6, 2023
1 parent d8bb165 commit 0ead30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/workflow_summary/collect_ci_test_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main():
success_count = job['success_count']
failure_count = job['failure_count']

log_file_path = os.path.join(file_folder, f'{job_name}.log')
log_file_path = os.path.join(file_folder, f'{job_name.replace(":", "_")}.log')
file_log = open(log_file_path, 'w')
file_log.write(f'\n{job_name}:\nFailure rate:{failure_rate:.2%} \nTotal count: {total_count} (success: {success_count}, failure: {failure_count})\nFailed jobs:')
logging.info(f'\n\n{job_name}:\nFailure rate:{failure_rate:.2%} \nTotal count: {total_count} (success: {success_count}, failure: {failure_count})\nFailed jobs:')
Expand Down

0 comments on commit 0ead30a

Please sign in to comment.