Commit graph

114 commits

Author SHA1 Message Date
Jozef Izso
b0baeedf4a
Rebuild dist 2025-05-17 14:06:57 +02:00
Shamus Taylor
a0398fb7dd Correct behavior for test cases with slashes 2025-05-17 13:42:38 +02:00
Michael Marcus
f1fa471229 Update all tests 2025-05-17 13:37:38 +02:00
Michael Marcus
0f47a5bec1 Update README; use empty string as default 2025-05-17 13:36:24 +02:00
Michael Marcus
2b2d091d3d Do not print a title if none is specified in the config 2025-05-17 13:36:24 +02:00
Michael Marcus
0841c8130e Feature: Add summary title
Add new option `report-title` to add H1 title to the Markdown report

Resolves #540
2025-05-17 13:36:23 +02:00
Jozef Izso
d1bf678c89
Merge pull request #582 from OlesGalatsan/bugfix/empty-trx-test-definitions
Fix for empty TRX TestDefinitions
2025-05-17 13:32:22 +02:00
Oles Galatsan
2acf6c2ccd Fix for empty TRX TestDefinitions 2025-05-15 15:40:14 +03:00
Oles Galatsan
8b055ac247 Increase step summary limit 2025-05-15 15:37:31 +03:00
Michael Marcus
8039983cdb Add dist changes 2025-03-25 15:10:26 -04:00
Jozef Izso
613e721b02 Update development dependencies 2025-03-12 13:35:12 +01:00
Jozef Izso
f4ba16072c Update production dependencies
@actions/core 1.11.1
adm-zip 0.5.16
fast-glob 3.3.3
2025-03-12 13:29:15 +01:00
Jozef Izso
10d304d4fb build: recompile production code 2025-03-12 13:14:18 +01: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
de62e458d1 Rebuild release index.js file 2024-06-25 15:52:27 +02:00
Jozef Izso
06ae02969c Rebuild release index.js file 2024-06-25 14:45:12 +02:00
Jozef Izso
1397b99b7c Refactor dotnet-nunit parser to DotnetNunitParser 2024-06-25 14:09:10 +02:00
Jozef Izso
d8481703bc Rebuild release index.js file 2024-06-25 14:02:56 +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
9d4bb43029 build & package 2024-04-12 21:32:40 +02:00
Ray Xu
c1768c8b7a Skip markdown file 2024-04-06 16:12:21 -07:00
Jozef Izso
80874c1df3 Build the distribution file 2024-04-02 22:16:33 +02: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
Julien Catania
aa82f530a5 update dist/index.js 2024-01-12 10:00:41 +01: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
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
Michal Dorner
4c2f9f34f7
Use full URL in suites table
Adds full URL in place previous commit missed
2021-03-31 23:30:19 +02:00