diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index c4a6bc8ff8..845c3f760b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -34,6 +34,7 @@ jobs: - wheel-tests-cuopt-server - wheel-build-cuopt-sh-client - test-self-hosted-server + - pr-test-summary permissions: contents: read uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@main @@ -623,3 +624,25 @@ jobs: with: build_type: pull-request script: ci/test_self_hosted_service.sh + pr-test-summary: + needs: + - conda-cpp-tests + - conda-python-tests + - wheel-tests-cuopt + - wheel-tests-cuopt-server + - test-self-hosted-server + if: always() + continue-on-error: true + runs-on: ubuntu-latest + permissions: + actions: read + pull-requests: write + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + sparse-checkout: ci/utils/pr_test_summary.py + sparse-checkout-cone-mode: false + - run: python3 ci/utils/pr_test_summary.py + env: + GH_TOKEN: ${{ github.token }} diff --git a/ci/utils/pr_test_summary.py b/ci/utils/pr_test_summary.py index 677db02f8d..6971dd83a3 100644 --- a/ci/utils/pr_test_summary.py +++ b/ci/utils/pr_test_summary.py @@ -139,12 +139,6 @@ def _build_body(failed, passed, skipped, job_analysis): lines.append( f"**{len(failed)} failed** · {len(passed)} passed · {len(skipped)} skipped" ) - lines += ["", "| Job | Logs |", "|-----|------|"] - for job in failed: - lines.append( - f"| ❌ `{job['name']}` | [View logs]({job['html_url']}) |" - ) - for job in failed: tests = job_analysis[job["id"]] if not tests: