Unverified Commit a80fa53b authored by Alexander Poddubny's avatar Alexander Poddubny Committed by GitHub

Disables CI reporting for PRs created from the forks (#3209)

# Description

Temporary disabled test reporting for PRs created from the forks.
parent 1b2d6eaf
......@@ -94,6 +94,7 @@ jobs:
isaacsim-version: ${{ env.ISAACSIM_BASE_VERSION }}
- name: Run General Tests
id: run-general-tests
uses: ./.github/actions/run-tests
with:
test-path: "tools"
......@@ -120,6 +121,12 @@ jobs:
retention-days: 1
compression-level: 9
- name: Fail on Test Failure for Fork PRs
if: github.event.pull_request.head.repo.full_name != github.repository && steps.run-general-tests.outcome == 'failure'
run: |
echo "Tests failed for PR from fork. The test report is in the logs. Failing the job."
exit 1
combine-results:
needs: [test-isaaclab-tasks, test-general]
runs-on: [self-hosted, gpu]
......@@ -166,6 +173,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"
......@@ -179,6 +187,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment