Skip to content

Commit 65540db

Browse files
committed
ci: output annotations for failures
Atm it's not easy to go through the logs and quickly find what tests are currently failing. With this change we'll have GitHub annotations for failed tests directly reported in the pull request. Signed-off-by: CrazyMax <[email protected]>
1 parent 2e63e31 commit 65540db

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/.test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ jobs:
165165
with:
166166
directory: ./bin/testreports
167167
flags: ${{ matrix.codecov_flags }}
168+
-
169+
name: Generate annotations
170+
if: always()
171+
uses: crazy-max/.github/.github/actions/gotest-annotations@5af0882e0496d2f7e98a53ae4048e3d86682496f
172+
with:
173+
directory: ./bin/testreports
168174
-
169175
name: Upload test reports
170176
if: always()

.github/workflows/test-os.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ jobs:
7272
directory: ./bin/testreports
7373
env_vars: RUNNER_OS
7474
flags: unit
75+
-
76+
name: Generate annotations
77+
if: always()
78+
uses: crazy-max/.github/.github/actions/gotest-annotations@5af0882e0496d2f7e98a53ae4048e3d86682496f
79+
with:
80+
directory: ./bin/testreports
7581
-
7682
name: Upload test reports
7783
if: always()

0 commit comments

Comments
 (0)