Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
4335-gh-Move-CT-PR-Publish.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 4335-gh-Move-CT-PR-Publish.patch of Package erlang
From c5bccbcd613ddd1a661383c264c534f533d8502b Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Fri, 23 Sep 2022 19:59:05 +0200 Subject: [PATCH 5/5] gh: Move CT PR Publish Sometimes the upload steps fails and then we still want to update the comment and add test results. --- .github/workflows/pr-comment.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml index 1b813d9cd6..4ae88c38aa 100644 --- a/.github/workflows/pr-comment.yaml +++ b/.github/workflows/pr-comment.yaml @@ -85,6 +85,16 @@ jobs: repository: 'erlang/erlang.github.io' path: erlang.github.io + - name: Publish CT Test Results + uses: EnricoMi/publish-unit-test-result-action@v1 + if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true' + with: + commit: ${{ github.event.workflow_run.head_sha }} + event_file: artifacts/Event File/event.json + event_name: ${{ github.event.workflow_run.event }} + check_name: "CT Test Results" + files: "artifacts/**/*.xml" + - name: Upload PR to github pages env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} @@ -105,19 +115,10 @@ jobs: repository-name: erlang/erlang.github.io single-commit: true - - name: Publish CT Test Results - uses: EnricoMi/publish-unit-test-result-action@v1 - if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true' - with: - commit: ${{ github.event.workflow_run.head_sha }} - event_file: artifacts/Event File/event.json - event_name: ${{ github.event.workflow_run.event }} - check_name: "CT Test Results" - files: "artifacts/**/*.xml" - ## Append some usefull links and tips to the test results posted by ## Publish CT Test Results - uses: actions/github-script@v5 + if: always() with: script: | const script = require('./.github/scripts/pr-comment.js'); -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor