Skip to content

Commit

Permalink
Merge pull request #10 from mikepenz/feature/8
Browse files Browse the repository at this point in the history
Fail on test failure
  • Loading branch information
mikepenz authored Jan 17, 2021
2 parents 6944f72 + f9ca152 commit 456d947
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 4,134 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": ["jest", "@typescript-eslint"],
"extends": ["plugin:github/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ If you are looking for surefire reporting check out the amazing plugin by [ScaCa

| **Input** | **Description** |
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `github_token` | **Required**. Usually in form of `github_token: ${{ secrets.GITHUB_TOKEN }}`. |
| `report_paths` | **Required**. [Glob](https://github.com/actions/toolkit/tree/master/packages/glob) expression to junit report paths. The default is `**/junit-reports/TEST-*.xml`. |
| `check_name` | Optional. Check name to use when creating a check run. The default is `Test Report`. |
| `commit` | Optional. The commit SHA to update the status. This is useful when you run it with `workflow_run`. |
| `github_token` | **Required**. Usually in form of `github_token: ${{ secrets.GITHUB_TOKEN }}`. |
| `report_paths` | **Required**. [Glob](https://github.com/actions/toolkit/tree/master/packages/glob) expression to junit report paths. The default is `**/junit-reports/TEST-*.xml`. |
| `check_name` | Optional. Check name to use when creating a check run. The default is `Test Report`. |
| `commit` | Optional. The commit SHA to update the status. This is useful when you run it with `workflow_run`. |
| `fail_on_failure` | Optional. Fail the build in case of a test failure. |

### Example usage

Expand Down
Loading

0 comments on commit 456d947

Please sign in to comment.