File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 7676 retention-days : 1
7777 compression-level : 9
7878
79+ - name : Check Test Results for Fork PRs
80+ if : github.event.pull_request.head.repo.full_name != github.repository
81+ run : |
82+ if [ -f "reports/isaaclab-tasks-report.xml" ]; then
83+ # Check if the test results contain any failures
84+ if grep -q 'failures="[1-9]' reports/isaaclab-tasks-report.xml || grep -q 'errors="[1-9]' reports/isaaclab-tasks-report.xml; then
85+ echo "Tests failed for PR from fork. The test report is in the logs. Failing the job."
86+ exit 1
87+ fi
88+ else
89+ echo "No test results file found. This might indicate test execution failed."
90+ exit 1
91+ fi
92+
7993 test-general :
8094 runs-on : [self-hosted, gpu]
8195 timeout-minutes : 180
You can’t perform that action at this time.
0 commit comments