Skip to content

Commit

Permalink
[Fix]Consolidate E2E test report
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 authored Jun 25, 2024
1 parent eeb96a2 commit a85e4c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Generate Summary report
if: always()
run: |
python ./test/lib/execution_summary.py artifacts/collective_robot_results/output.xml
python ./test/lib/execution_summary.py artifacts -o artifacts/collective_robot_results/output.xml -m summary_report.md
- name: Print E2E Report
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ jobs:
- name: Generate Summary report
if: always()
run: |
python ./test/lib/execution_summary.py artifacts artifacts/collective_robot_results/output.xml summary_report.md
python ./test/lib/execution_summary.py artifacts -o artifacts/collective_robot_results/output.xml -m summary_report.md
- name: Print E2E Report
if: always()
Expand Down
4 changes: 2 additions & 2 deletions test/lib/execution_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def __write_test_section(self, file, test_dict, section_header, table_header):
def main():
parser = argparse.ArgumentParser(description='Consolidate test summary report')
parser.add_argument('test_env_files_path', type=str, help='Path to the test environment files')
parser.add_argument('output_file', type=str, help='Path to output xml file')
parser.add_argument('markdown_file', type=str, help='Path to consolidated summary markdown file')
parser.add_argument('-o', '--output_file', type=str, nargs='?', default='output.xml', help='Path to output xml file')
parser.add_argument('-m', '--markdown_file', type=str, nargs='?', default='summary_report.md', help='Path to consolidated summary markdown file')
args = parser.parse_args()

test_env_files_path = args.test_env_files_path
Expand Down

0 comments on commit a85e4c5

Please sign in to comment.