forked from mydea/ember-cli-code-coverage-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (27 loc) · 880 Bytes
/
Copy pathaction.yml
File metadata and controls
27 lines (27 loc) · 880 Bytes
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
name: 'ember-cli-code-coverage check'
description: 'Find out how much of a change to your code coverage size a PR will have'
author: 'Francesco Novy'
branding:
icon: 'bar-chart-2'
color: 'orange'
inputs:
repo-token:
description: 'The GITHUB_TOKEN secret'
test-command:
description: 'The command to run your tests'
default: 'yarn test-coverage'
coverage-file:
description: 'The location of coverage summary.json file'
default: './coverage/coverage-summary.json'
coverage-indicator:
description: 'The coverage type to use. One of: statements, lines, functions, branches'
default: 'statements'
working-directory:
description: 'Ember app directory'
default: './'
message:
description: 'Comment message title that will be posted on PR'
default: 'Test coverage: **{testCoverage}%**'
runs:
using: 'node16'
main: 'index.js'