Commit graph

115 commits

Author SHA1 Message Date
A.J. Kaptijn
dd70238216 oops 2024-02-28 09:33:13 +01:00
A.J. Kaptijn
e4fa9e8b86 fail the check-run without results 2024-02-20 22:18:08 +01:00
A.J. Kaptijn
1deff739ec use existing check when possible 2024-02-16 15:00:18 +01:00
A.J. Kaptijn
59060a80a8 fix: only push results when the url is set 2024-02-09 10:55:38 +01:00
A. J. Kaptijn
108abd4de9 print the first 10 failed tests 2024-01-24 09:13:51 +01:00
A. J. Kaptijn
a3bd4352e9 feat: when failed to wrote the results, and having failed tests, make sure the build fails 2024-01-17 12:43:53 +01:00
A. J. Kaptijn
39a2ecbea2 don't fail without write access 2024-01-17 12:22:46 +01:00
A. J. Kaptijn
26b8b7c891 oop 2024-01-17 10:02:10 +01:00
A. J. Kaptijn
45ad0f6ed6 clean 2024-01-16 14:48:12 +01:00
A. J. Kaptijn
2b7c320bab package upgrades 2024-01-16 14:33:53 +01:00
A. J. Kaptijn
21274c9ad7 cleanup 2024-01-16 12:58:19 +01:00
A. J. Kaptijn
5473a04c5a . 2024-01-16 12:13:18 +01:00
Aart Jan Kaptijn
411cf3d74b node16 2024-01-16 11:41:43 +01:00
Julien Catania
aa82f530a5 update dist/index.js 2024-01-12 10:00:41 +01:00
Julien Catania
24b216b6b8 Merge remote-tracking branch 'origin/check_status' into check_status
# Conflicts:
#	dist/index.js
#	dist/index.js.map
2024-01-12 09:56:03 +01:00
Jozef Izso
7aa575a237 Add tests for results with React component names 2023-12-18 13:59:17 +01:00
Jozef Izso
feda17a8d8 Compile distribution code 2023-12-13 22:41:59 +01:00
Michal Dorner
62b89ea98d
Apply code style fix 2023-12-09 21:17:07 +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
bc48d4dfff fixing package script 2023-09-22 20:55:15 +02:00
Julien Catania
a02f895e5a fixing format 2023-09-22 20:52:55 +02:00
Julien Catania
589592494f fix npm package 2023-09-22 20:48:52 +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
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
15ec24088d
Update dist/index.js 2022-11-30 16:53:36 +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
Ats Uiboupin
578b47fbd3
update generated files
Closes #208
2022-11-19 22:20:44 +02:00
Michal Dorner
3b54f63d95
Update dist/index.js 2022-11-13 13:22:18 +01:00
Michal Dorner
f3b6327f90
Disable generation of the source map 2022-11-13 12:55:50 +01:00
Michal Dorner
59de73d003
Verify content of dist/ folder matches build output 2022-11-13 12:39:16 +01:00
Michal Dorner
e54753f811
Update to node16 + recent versions of core and exec packages 2022-10-13 22:05:31 +02:00
Michal Dorner
aba461c3a7
Downgrade got package to v11.x
got@v12.x has a dependency on @sindresorhus/is@v5.x and it uses optional chaining operator "?.".  
Probably due to issue https://github.com/vercel/ncc/issues/873 this syntax got into our dist/index.js. For some unknown reason it results in error when action is executed in GitHub runner despite the node version is 16.17.
2022-08-23 23:10:34 +02:00
Michal Dorner
0b7f7244db
Update dist 2022-08-20 00:10:53 +02:00
Linas Daneliukas
74d8fd673e shortSummary const 2021-11-30 10:56:33 +02:00
Linas Daneliukas
d1e7a9281a Update check title and remove icon 2021-10-11 15:35:03 +03:00
Michal Dorner
de0b4b9ece
Add option to convert backslashes in path pattern to forward slashes
The fast-glob library that is internally used interprets backslashes as escape characters. If enabled, all backslashes in provided path will be replaced by forward slashes and act as directory separators. It might be useful when path input variable is composed dynamically from existing directory paths on Windows.

Closes #127
2021-06-22 22:33:11 +02:00
Michal Dorner
2ac8b4498f
Force generating summary if there is single results file and onlySummary is enabled 2021-06-22 21:28:22 +02:00
Giuseppe Lippolis
17e793242c feat: allows to generate the summary only. 2021-06-03 10:57:57 +02:00
Michal Dorner
d01ef000ba
Fix JUnit test-cases with error misclassified as passed test
Previous implementation considered only test-cases with <failure> as failed. This fix makes processing of <error> and <failure> the same. It also handles situation when error or failure elements contains only text and no attributes.
2021-05-24 15:03:34 +02:00
Michal Dorner
72c193c336
Patch java-junit to handle missing time field
Normally a <testsuites> element has a time field. In some JUnit implementations this field is missing. This issue was found in junit XML created in matlab.

At the moment I don't plan to explicitly support matlab - that would require to add more tests and documentation. However this patch should make it work with the existing java-junit parser.
2021-05-13 22:39:52 +02:00
Michal Dorner
f88270a385
Update dist/index.js 2021-05-13 21:56:10 +02:00
Michal Dorner
43d89d5ee5
Fix dotnet-trx parser failing on passed tests with non-empty error info 2021-04-20 21:38:55 +02:00
Michal Dorner
6662b9362e
Fix dotnet-trx parsing of tests with custom display names 2021-04-20 08:40:05 +02:00
Michal Dorner
ee126813a2
Merge branch 'dev' into mocha-json 2021-04-01 00:05:41 +02:00