Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression check #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/e2e_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
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
Loading