Skip to content

Commit 456d947

Browse files
authored
Merge pull request #10 from mikepenz/feature/8
Fail on test failure
2 parents 6944f72 + f9ca152 commit 456d947

8 files changed

+238
-4134
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"plugins": ["jest", "@typescript-eslint"],
3+
"extends": ["plugin:github/recommended"],
34
"parser": "@typescript-eslint/parser",
45
"parserOptions": {
56
"ecmaVersion": 9,

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ If you are looking for surefire reporting check out the amazing plugin by [ScaCa
2828

2929
| **Input** | **Description** |
3030
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
31-
| `github_token` | **Required**. Usually in form of `github_token: ${{ secrets.GITHUB_TOKEN }}`. |
32-
| `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`. |
33-
| `check_name` | Optional. Check name to use when creating a check run. The default is `Test Report`. |
34-
| `commit` | Optional. The commit SHA to update the status. This is useful when you run it with `workflow_run`. |
31+
| `github_token` | **Required**. Usually in form of `github_token: ${{ secrets.GITHUB_TOKEN }}`. |
32+
| `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`. |
33+
| `check_name` | Optional. Check name to use when creating a check run. The default is `Test Report`. |
34+
| `commit` | Optional. The commit SHA to update the status. This is useful when you run it with `workflow_run`. |
35+
| `fail_on_failure` | Optional. Fail the build in case of a test failure. |
3536

3637
### Example usage
3738

0 commit comments

Comments
 (0)