diff --git a/.github/workflows/e2e_test.yaml b/.github/workflows/e2e_test.yaml index 91ae178..2c7c9b7 100644 --- a/.github/workflows/e2e_test.yaml +++ b/.github/workflows/e2e_test.yaml @@ -72,7 +72,8 @@ jobs: - name: Run Test shell: bash run: | - python -m robot --outputdir reports-${{ matrix.target }}-${{ matrix.arch }} --settag ${{ matrix.target }}-${{ matrix.arch }} --name ${{ matrix.target }}-${{ matrix.arch }} ./test + robot --outputdir reports-${{ matrix.target }}-${{ matrix.arch }} --settag ${{ matrix.target }}-${{ matrix.arch }} --name ${{ matrix.target }}-${{ matrix.arch }} ./test + continue-on-error: true - name: Archieve test results if: always() @@ -117,7 +118,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() diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index fa2cb38..fdbb2d4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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() diff --git a/test/lib/execution_summary.py b/test/lib/execution_summary.py index 4681b2e..d4a7f77 100644 --- a/test/lib/execution_summary.py +++ b/test/lib/execution_summary.py @@ -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