Commit graph

156 commits

Author SHA1 Message Date
Connor Monaghan
70db77d88c feat: parse junit report with message 2025-03-11 18:11:28 +10:00
Philipp Jardas
45526f79fd Fix parsing of ESLint reports in jest-junit format
The [ESLint junit formatter](https://www.npmjs.com/package/eslint-junit)
does not include a total time attribute for the root `<testsuites>`
element.
2024-06-26 13:42:32 +02:00
Jozef Izso
9d0f09a6b6 Fix code formatting issues 2024-06-25 23:28:35 +02:00
Ray Xu
84e60bad69 Merge branch 'upstream-main' into ritchxu/support-actions-summary 2024-06-25 10:26:24 -07:00
Ray Xu
1db430559c Reaction to PR feedback 2024-06-25 10:19:55 -07:00
Jozef Izso
21ae91ed3c Fix formatting of the code 2024-06-25 14:41:50 +02:00
Anthony Barbier
521e122f40 Fix JUnit message / type fields. 2024-06-25 14:41:42 +02:00
Jozef Izso
1397b99b7c Refactor dotnet-nunit parser to DotnetNunitParser 2024-06-25 14:09:10 +02:00
Jozef Izso
c40b69fc4a Fix code formatting and update snapshot for dotnet-unit tests 2024-06-25 14:01:36 +02:00
Kevin Ring
ce340de8b9 Add reporter, eslint, formatting. 2024-06-25 13:57:09 +02:00
Kevin Ring
953e623fd8 Report times in milliseconds. 2024-06-25 13:57:09 +02:00
Kevin Ring
49c1f3ae6c Implement NUnit 3 parser. 2024-06-25 13:57:09 +02:00
Ray Xu
574868ab61 Undo trx parsing changes temporarily 2024-05-29 17:03:02 -07:00
Jozef Izso
ed2a32e11c
Merge pull request #438 from JojOatXGME/fix-artifact-download-alternative
Fix problematic retransmission of authentication token (alternative solution) #438
2024-05-08 12:06:22 +02:00
Johannes Spangenberg
f763877804 Fix problematic retransmission of authentication token
The retransmission of the authentication token to the server providing
the artifact caused the following errors when using Artifacts v4:

  HTTPError: Response code 400 (Authentication information is not given
  in the correct format. Check the value of Authorization header.)

It looks like the service serving the artifacts does not expect the
authentication header, and therefore complaines about inproper use of
the authentication header. Delegating the redirect-handling to the `got`
library fixes the issue according to my tsts.
2024-05-04 13:43:51 +02:00
dominicmh
cacdfc564b exclude hidden "tests" from test result 2024-04-12 21:31:54 +02:00
Ray Xu
c1768c8b7a Skip markdown file 2024-04-06 16:12:21 -07:00
oscar mampel
1a3cfe6b48 Add support for rspec 2024-03-14 00:40:50 +01:00
Ray Xu
0b7d35fd12 Merge branch 'dorny:main' 2024-03-03 14:06:44 -08:00
Linas Daneliukas
996dd3b9b1 shortSummary const 2024-01-12 09:53:39 +01:00
Linas Daneliukas
4bb68fffaa Update check title and remove icon 2024-01-12 09:53:33 +01:00
Thanabodee Charoenpiriyakij
c1926959e2 Escape <> characters in suite name
Fixes: #235
2023-12-18 13:59:03 +01:00
Michal Dorner
62b89ea98d
Apply code style fix 2023-12-09 21:17:07 +01:00
Jozef Izso
1c044b4aef Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter 2023-11-08 16:27:24 +01:00
Julien Catania
f3a6ff2ed4
Merge pull request #258 from cazou/fix-split-on-undefined
Avoid split on undefined
2023-10-09 19:24:04 +02:00
Julien Catania
19f5a0d16b
Merge pull request #242 from luisito666/feature/add-new-output-for-url-url_html
Add new output for url url html
2023-09-22 21:27:34 +02:00
Julien Catania
61135b8121
Merge pull request #243 from gdams/fail_on_empty
add feature fail-on-empty
2023-09-22 21:17:53 +02:00
Julien Catania
ac305c191c fixing format 2023-09-22 20:44:42 +02:00
Julien Catania
76a051e007 fixing lint 2023-09-22 20:42:28 +02:00
Detlev Casanova
daece3018b Avoid split on undefined 2023-08-09 15:24:41 -04:00
George Adams
9e78da5e1b
add feature fail-on-empty 2023-04-03 11:13:19 +01:00
luisito666
2868c9aa28 Add new outputs for url and url_html for future references 2023-03-27 17:39:12 -05:00
Ray Xu
724497a84c Fix edge case of one test assembly 2023-01-04 23:37:43 +00:00
Ray Xu
3608ee03fd Add option of use-actions-summary 2023-01-04 23:29:10 +00:00
Ray Xu
bd77050543 Support none for list-suites 2023-01-04 22:57:17 +00:00
Ray Xu
49667db475 Add badge title customization 2023-01-04 22:55:04 +00:00
Ray Xu
83b7f42d2d Persist test summary on disk 2023-01-04 22:53:35 +00:00
Michal Dorner
3963c5302f
Skip listing of files if error parsing is disabled 2022-11-30 21:25:39 +01:00
Michal Dorner
ac8472f51a
Log filename if parsing fails 2022-11-30 18:49:10 +01:00
Michal Dorner
b45fb8b405
Merge branch 'main' into pr-179 2022-11-30 18:40:51 +01:00
Trond Einar Snekvik
e7733f494f Only report failure if fail-on-error is set
The flag is checked when exiting early, but the report update at the end ignores it, causing the test run to be reported as a failure.

Fixes #161.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
2022-11-30 13:43:42 +01:00
Michal Dorner
6af36d9ecf
Merge branch 'main' into issue-208-java-junit-show-annotations-on-pr-changed-files 2022-11-29 09:41:00 +01:00
Michal Dorner
86d6ec5dd5
Update dist/index.js 2022-11-29 08:55:49 +01:00
Hervé Audren
a91086638b Gracefully handle empty failure tags
This commit fixes #137. Some JUnit generators emit an empty failure tag,
with only a message property set. In those cases, the parser crashes
when trying to match the failure with a source file. Since this feature
is optional, the simplest fix is to skip the processing when the failure
tag is empty.

Also added a test, and the corresponding input file is generated from a
reporter within our codebase.
2022-11-29 08:45:53 +09:00
Ats Uiboupin
aebbb4d7c4
fix(java-junit): parse StackTraceElement with custom classloader
Fixes #208
2022-11-19 22:17:15 +02:00
Ats Uiboupin
3a48f6e045
fix(java-junit): stack trace line can start with whitespaces
Fixes #208
2022-11-19 22:17:06 +02:00
Ats Uiboupin
e5edb614dd refactor: extract parsing java StackTraceElement to allow improving 2022-11-19 21:01:30 +02:00
Michal Dorner
48bf7af48b
Merge branch 'main' into mocha-empty-test-suite 2022-11-13 13:20:55 +01:00
Dharmendra Soni
3cca7492d0
Merge pull request #200 from petrdvorak/main
Fix #199: Use  instead of ✔️ for better cross platform look
2022-11-03 04:28:34 +05:30
Michal Dorner
e54753f811
Update to node16 + recent versions of core and exec packages 2022-10-13 22:05:31 +02:00