forked from daun/playwright-report-summary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (40 loc) · 1.21 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 'Playwright report comment'
description: 'Report Playwright test results as pull request comments'
author: 'Philipp Daun <[email protected]>'
branding:
icon: 'message-circle'
color: 'purple'
inputs:
github-token:
description: 'The GitHub access token'
required: false
default: ${{ github.token }}
report-file:
description: 'Path to the generated json report file'
required: true
report-url:
description: 'URL to the generated html report, if uploaded'
required: false
report-tag:
description: 'Tag reports to distinguish test runs in the same workflow instead of overwriting'
required: false
comment-title:
description: 'Customize the title of the pull request comment'
required: false
default: 'Playwright test results'
job-summary:
description: 'Create a job summary comment for the workflow run'
required: false
default: false
icon-style:
description: 'The icons to use: octicons or emoji'
required: false
default: 'octicons'
outputs:
summary:
description: 'The rendered markdown summary of the test report'
comment-id:
description: 'The ID of the comment that was created or updated'
runs:
using: node20
main: dist/index.js