Skip to content

Commit

Permalink
Publish go tip test report (#5082)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?
-
#5035 (comment)

## Description of the changes
- Publish detailed test report on go tip workflow run completion.

## How was this change tested?
- Tested in my fork:
https://github.com/albertteoh/jaeger/actions/runs/7429751382

The detailed report will be published under the Go Tip unit test run
summary:

<img width="690" alt="Screenshot 2024-01-06 at 4 42 57 pm"
src="https://github.com/jaegertracing/jaeger/assets/26584478/5b1dc038-ab09-44fc-86d1-11cf18d21e2d">

<img width="722" alt="Screenshot 2024-01-06 at 4 43 12 pm"
src="https://github.com/jaegertracing/jaeger/assets/26584478/9a09089e-74bd-458e-acfc-45fb89b59c2c">

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits

---------

Signed-off-by: Albert Teoh <albert@packsmith.io>
Co-authored-by: Albert Teoh <albert@packsmith.io>
  • Loading branch information
albertteoh and Albert Teoh committed Jan 6, 2024
1 parent 370e756 commit 01b1015
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci-unit-tests-go-tip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,22 @@ jobs:
check_run: false
comment_mode: off

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results
path: junit-report.xml

- name: Lint
run: echo skip linting on Go tip

event-file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Event File
path: ${{ github.event_path }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-unit-tests-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Unit Test Results

on:
workflow_run:
workflows: ["Unit Tests"]
workflows: ["Unit Tests", "Unit Tests on Go Tip"]
types:
- completed

jobs:
unit-test-results:
name: Unit Test Results
name: ${{ github.event.workflow_run.name }}
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion != 'skipped'

Expand Down

0 comments on commit 01b1015

Please sign in to comment.