forked from EnricoMi/publish-unit-test-result-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
67 lines (67 loc) · 3.34 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: 'Publish Unit Test Results'
author: 'EnricoMi'
description: 'A GitHub Action that publishes unit test results on GitHub'
inputs:
github_token:
description: 'GitHub API Access Token'
default: ${{ github.token }}
required: true
commit:
description: 'Commit SHA to which test results are published. Only needed if the value of GITHUB_SHA does not work for you.'
required: false
check_name:
description: 'Name of the created check run'
required: false
default: 'Unit Test Results'
comment_title:
description: 'Title of PR comments, defaults to value of check_name input'
required: false
fail_on:
description: 'The created test result check run has failure state if any test fails or test errors occur. Never fails when set to "nothing", fails only on errors when set to "errors". Default is "test failures".'
required: false
default: 'test failures'
files:
description: 'File pattern of test result files'
required: true
report_individual_runs:
description: 'Individual runs of the same test may see different failures. Reports all individual failures when set "true" or the first only otherwise'
required: false
deduplicate_classes_by_file_name:
description: 'De-duplicates classes with same name by their file name when set "true", combines test results for those classes otherwise'
required: false
hide_comments:
description: 'Configures which earlier comments of the action to hide: off - no comments, orphaned commits - comments for commits that are removed from the branch, all but latest - all comments but the latest'
required: false
default: 'all but latest'
comment_on_pr:
description: 'Control PR comments: false - disable PR comments, true - comment on PRs'
required: false
default: 'true'
compare_to_earlier_commit:
description: 'Test results are compared to results of earlier commits to highlight changes: false - disable comparison, true - compare across commits'
required: false
default: 'true'
pull_request_build:
description: 'Pull request events build a merge of the branch and the target branch, not just the commit that has been pushed. When your workflow deviates from this behaviour and builds the actual commit, then set this option to "commit". Defaults to "merge".'
required: false
default: 'merge'
test_changes_limit:
description: 'Limits the number of removed or skipped tests listed on PR comments. This can be disabled with a value of 0. The default is 10.'
required: false
check_run_annotations:
description: 'Adds additional information to the check run (comma-separated list): all tests - list all found tests, skipped tests - list all skipped tests, none - no extra annotations at all'
required: false
default: 'all tests, skipped tests'
check_run_annotations_branch:
description: 'Adds check run annotations only on given branches. If not given, this defaults to the default branch of your repository, e.g. main or master. Comma separated list of branch names allowed, asterisk "*" matches all branches.'
required: false
test_case_annotations:
description: 'Publish annotations for failed and skipped tests'
required: false
default: 'true'
runs:
using: 'docker'
image: 'docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.12'
branding:
icon: 'check-circle'
color: 'green'