Skip to content

Commit

Permalink
Merge pull request #41 from matt-ball/fix-reporters
Browse files Browse the repository at this point in the history
fix reporting defaults
  • Loading branch information
matt-ball authored Oct 8, 2021
2 parents 3bf3cf3 + 24bc868 commit e28dce0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ As well as `apiKey`, `collection`, and `environment`, all other Newman settings
Note that:
- GitHub Actions only supports `string`, `number` and `boolean` types. For fields that require objects/arrays, you will need to stringify them appropriately.
- `environment` and `globals` are only supported as a `string` in this Action. They cannot be passed stringified objects.
- `reporters` is only supported as a stringified object.

The following example demonstrates these notes in practice:

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ inputs:
description: 'Always exit cleanly'
reporters:
description: 'Reporter to use'
default: 'cli'
default: '["cli"]'
reporter:
description: 'Reporter options'
color:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newman-action",
"version": "1.0.0",
"version": "1.0.1",
"description": "Run Postman collections with Newman as a GitHub Action",
"main": "dist/index.js",
"repository": {
Expand Down

0 comments on commit e28dce0

Please sign in to comment.