mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-21 23:52:12 +01:00
feat: added a slug-prefix parameter for link anchors
Motivation: when using a matrix job, or more than one kind of tests in a same workflow, we can end up with multiple summaries at the same time. This will lead to multiple anchors and html id that will no longer be unique. This prefix option allow to disambiguate those anchors ; and keep them functional.
This commit is contained in:
parent
3d76b34a45
commit
7f0723a953
7 changed files with 49 additions and 4 deletions
|
|
@ -162,6 +162,10 @@ jobs:
|
|||
# Allows you to generate reports for Actions Summary
|
||||
# https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
|
||||
use-actions-summary: 'true'
|
||||
|
||||
# Prefix used when generating report anchor slugs.
|
||||
# Useful to avoid collisions when multiple reports are rendered together.
|
||||
slug-prefix: ''
|
||||
|
||||
# Optionally specify a title (Heading level 1) for the report. Leading and trailing whitespace are ignored.
|
||||
# This is useful for separating your test report from other sections in the build summary.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue