Skip to content
Closed
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
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ jobs:

- name: Comment on Test Results
id: test-reporter
if: github.event.pull_request.head.repo.full_name == github.repository
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: "reports/combined-results.xml"
Expand All @@ -179,6 +180,7 @@ jobs:
action_fail_on_inconclusive: true

- name: Report Test Results
if: github.event.pull_request.head.repo.full_name == github.repository
uses: dorny/test-reporter@v1
with:
name: IsaacLab Build and Test Results
Expand Down
4 changes: 3 additions & 1 deletion tools/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,6 @@ def pytest_sessionstart(session):
print(summary_str)

# Exit pytest after custom execution to prevent normal pytest from overwriting our report
pytest.exit("Custom test execution completed", returncode=0)
# Exit with failure code if any tests failed
exit_code = 1 if failed_tests else 0
pytest.exit("Custom test execution completed", returncode=exit_code)
Loading