Michal Dorner
ea36be4653
Improve test error messages from flutter
...
For some reason the error message from flutter SDK might contain no useful information. Basically it just says that test failed and you should see the logs. Logs itself are provided as content of `print` event. This commit adds special processing for this behavior - it parses actual error message out of print event.
2021-03-31 21:25:54 +02:00
Michal Dorner
d29a37e78a
Fixes #82 - net-trx parser handles missing duration attribute
2021-03-24 18:02:31 +01:00
Michal Dorner
d5e42b8d57
dart-json: remove group name from test case names
2021-03-23 21:58:20 +01:00
Michal Dorner
3a0bb833dc
#83 - Use non-capturing optional group, add tests and update dist
2021-03-23 21:39:47 +01:00
Michal Dorner
16adfe9b7e
Add support for java-junit
2021-03-07 22:06:12 +01:00
Michal Dorner
a9749e3840
Handle test reports with no test cases
2021-03-07 12:22:00 +01:00
Michal Dorner
cf4814e8de
Do not throw error when workflow_run has been cancelled
...
It's common to cancel all jobs/workflows after first error. There could still be test results user wants to see in a report
2021-03-07 11:25:42 +01:00
Michal Dorner
073a4b9a03
Add info log when fetching git tree
2021-03-07 09:52:57 +01:00
Michal Dorner
953bdcc20a
Reduce number of API calls to get list of files tracked by GitHub
2021-03-07 09:33:58 +01:00
Michal Dorner
32f5b23752
Set listTests and listSuites to lower detail if report is too big
2021-02-20 22:32:30 +01:00
Michal Dorner
4e1eb73eb5
Fail the action if triggering workflow run has been cancelled
2021-02-20 14:43:46 +01:00
Michal Dorner
3340176ee8
Remove artifact-test from CI
...
Artifacts via public API are not available before whole workflow is finished. Therefore it's not possible to execute test this way
2021-02-18 22:23:20 +01:00
Michal Dorner
8efb156d28
Fail the action if no test results are processed
2021-02-18 21:18:04 +01:00
Michal Dorner
93c3964547
Misc fixes + test sleep before artifact-test
2021-02-17 21:20:40 +01:00
Michal Dorner
96237b3119
Improve logging & fix wrong SHA used
2021-02-17 08:28:52 +01:00
Michal Dorner
c5671cf48a
Improve logging
2021-02-17 08:12:45 +01:00
Michal Dorner
09d1ac9fc3
Improve logging
2021-02-16 22:02:56 +01:00
Michal Dorner
89f214d9f3
Fix artifact-provider zip processing and report name generation
2021-02-15 21:07:14 +01:00
Michal Dorner
1ae86a176d
artifact-provider: improve logging
2021-02-15 20:46:28 +01:00
Michal Dorner
8819b4b3d4
Pass auth token to got request
2021-02-15 17:00:25 +01:00
Michal Dorner
52024f70c3
Use got to fetch artifact URL
...
See issue: https://github.com/octokit/request.js/issues/240
2021-02-15 16:49:52 +01:00
Michal Dorner
1f5bb98685
Fix artifact download
2021-02-15 16:28:28 +01:00
Michal Dorner
064a15c405
Fix regex parsing in artifact-provider
2021-02-15 16:15:21 +01:00
Michal Dorner
075144b122
Add artifact input to action.yml + improve logging
2021-02-15 15:54:15 +01:00
Michal Dorner
3510d9ac27
Add support for loading test results from artifacts
2021-02-15 15:18:55 +01:00
Michal Dorner
effa386fea
Fix dart/flutter stack trace parsing
2021-02-01 16:09:01 +01:00
Michal Dorner
2834fd0c5f
Update dist/index.js
2021-02-01 15:27:52 +01:00
Michal Dorner
2365963b2e
Fix dart-json not stripping cwd from suite paths
2021-02-01 12:05:15 +01:00
Michal Dorner
9c4a2c56d7
Updates to README and info logs
2021-02-01 11:14:07 +01:00
Michal Dorner
03def00317
Rename flutter-machine to flutter-json
2021-01-31 21:22:47 +01:00
Michal Dorner
60b35d601a
Refactoring & cleanup of whole codebase
...
Improves report summary and annotations
2021-01-31 20:48:22 +01:00
Michal Dorner
07a0223ee3
Update dist/index.js
2021-01-29 01:04:01 +01:00
Michal Dorner
96e91aa726
Simplify 'only-failed' to 'failed'
2021-01-28 22:18:29 +01:00
Michal Dorner
f55c0119bb
Remove leading result icon + add external .net fixture
2021-01-28 22:03:01 +01:00
Michal Dorner
e3bb634029
Improve report format to save space
2021-01-25 14:21:44 +01:00
Michal Dorner
768aefbed2
Report: round times and skip Test Suites section if it's empty
2021-01-25 13:18:02 +01:00
Michal Dorner
7c339256a1
Update dist/index.js
2021-01-25 12:56:31 +01:00
Michal Dorner
fdd3509024
Update dist/index.js
2021-01-24 21:14:40 +01:00
Michal Dorner
42eb11a3c8
Add summary badge to report
2021-01-24 18:11:59 +01:00
Michal Dorner
92cb68e21e
Improve README and action.yml
2021-01-24 17:18:27 +01:00
Michal Dorner
42dbc1ffb6
Update npm packages
2021-01-18 22:26:29 +01:00
Michal Dorner
1ab5efa052
Improve logging and error handling
2021-01-18 22:21:19 +01:00
Michal Dorner
6e20ef250b
Fix imports in main.ts
2021-01-16 23:11:52 +01:00
Michal Dorner
179151a363
Update index.js
2021-01-16 22:53:25 +01:00
Michal Dorner
760c090915
Fix EOL issues - remove all \r from annotation message
2021-01-14 22:34:00 +01:00
Michal Dorner
4197e7a327
Update index.js
2021-01-14 21:40:08 +01:00
Michal Dorner
a8ad366f07
Update index.js
2021-01-10 18:37:26 +01:00
Michal Dorner
d071a83e6a
Put only test filename and test case name into annotation title
2020-11-29 21:27:10 +01:00
Michal Dorner
198c3d1af3
Remove duplicate text of top level test name
2020-11-29 20:50:52 +01:00
Michal Dorner
bff3069f5c
Remove 'Details' column from Test case report
...
Stack traces doesn't fit well into the table - there was not enough width for it. Now the stack traces are included in annotations which looks much better
2020-11-29 20:07:32 +01:00