Commit graph

336 commits

Author SHA1 Message Date
Martin Fillafer
5e285f5cb4 test: log annotations 2023-03-24 15:27:43 +01:00
Martin Fillafer
85f8936ad9 test: log annotations 2023-03-24 14:09:31 +01:00
Martin Fillafer
0582e4d1dc revert directory mapping 2023-03-24 14:08:03 +01:00
Martin Fillafer
748bf26479 change directory mapping 2023-03-20 15:49:56 +01:00
Martin Fillafer
599ed4bcba change directory mapping 2023-03-20 15:47:52 +01:00
Martin Fillafer
fb476f0471 change directory mapping 2023-03-20 15:43:23 +01:00
Martin Fillafer
c0b203e872 update workflow versions 2023-03-20 15:32:07 +01:00
Martin Fillafer
8cb6ade3ac test: directory mapping 2023-03-20 15:29:56 +01:00
Martin Fillafer
3606ee2f36 revert: getBasePath() logic to original 2023-03-20 15:28:36 +01:00
Martin Fillafer
cdfbf90a4e refactor: improve getWorkDir() implementation 2023-03-15 16:02:05 +01:00
Martin Fillafer
33125699e3 feat: consider tracked files to get absolute paths 2023-03-14 11:40:21 +01:00
Martin Fillafer
0d3dd791da feat: consider the workdir in pytest annotations 2023-03-14 11:30:29 +01:00
Martin Fillafer
7442569c25 feat: support pytest trace back parsing 2023-03-13 20:29:19 +01:00
Martin Fillafer
a007309f5d feat: add pytest junit parser and simple test 2023-03-13 19:03:20 +01:00
Michal Dorner
e9fa2f582c
Merge pull request #216 from dorny/skip-list-tracked-files
Skip listing of files if error parsing is disabled
2022-11-30 21:28:55 +01:00
Michal Dorner
3963c5302f
Skip listing of files if error parsing is disabled 2022-11-30 21:25:39 +01:00
Michal Dorner
33529f74ef
Merge pull request #179 from vasanthdharmaraj/main
Suppress "Processing test results from" log
2022-11-30 18:54:29 +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
Michal Dorner
396026f3c5
Merge pull request #211 from abelbraaksma/patch-1
Improve clarity on configuring for forkable repos
2022-11-30 18:34:50 +01:00
Michal Dorner
a5c5b636ff
Remove "Create test report" step from PR check runs 2022-11-30 18:23:12 +01:00
Michal Dorner
75b0cadf5f
Merge pull request #214 from trond-snekvik/fail-on-error
Only report failure if fail-on-error is set
2022-11-30 18:14:08 +01:00
Michal Dorner
0042016d8d
Fix eol conversion in dist folder 2022-11-30 18:11:21 +01:00
Michal Dorner
15ec24088d
Update dist/index.js 2022-11-30 16:53:36 +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
8bf0c7d9a7
Merge pull request #209 from atsu85/issue-208-java-junit-show-annotations-on-pr-changed-files
Fix #208 - java-junit: show annotations on PR changed files
2022-11-29 09:54:39 +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
035c1f9d21
Merge pull request #213 from haudren-woven/fix-empty-failures-java-junit
Gracefully handle empty failure tags
2022-11-29 09:03:47 +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
Abel Braaksma
f191e67022
Improve clarity on configuring for forkable repos
Add a note to signify that a workflow-based run won't execute in a PR and must be merged into `main` first.
2022-11-24 18:28:51 +01:00
Ats Uiboupin
578b47fbd3
update generated files
Closes #208
2022-11-19 22:20:44 +02: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
Ats Uiboupin
b41f730922
ignore IntelliJ Idea IDE folder 2022-11-18 17:50:14 +02:00
Ats Uiboupin
d71eea3059
add .nvmrc 2022-11-18 17:47:49 +02:00
Michal Dorner
074fe2cd27
Merge pull request #193 from rvdlaarschot/mocha-empty-test-suite
Gracefully handle empty nested testsuite elements for JUnit.
2022-11-13 13:25:06 +01:00
Michal Dorner
3b54f63d95
Update dist/index.js 2022-11-13 13:22:18 +01:00
Michal Dorner
48bf7af48b
Merge branch 'main' into mocha-empty-test-suite 2022-11-13 13:20:55 +01:00
Michal Dorner
2f63fb86e1
Update test outputs after #199 2022-11-13 13:19:47 +01:00
Michal Dorner
21b00b9bcc
Merge pull request #207 from dorny/issue-205-check-dist
Verify content of dist/ folder matches build output
2022-11-13 13:13:36 +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
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
c9b3d0e2bd
Update CHANGELOG for v1.6.0 2022-10-13 22:14:03 +02:00
Michal Dorner
d93282af1c
Merge pull request #203 from dorny/update-node-and-dependencies
Update to node16 + recent versions of core and exec packages
2022-10-13 22:09:41 +02:00
Michal Dorner
e54753f811
Update to node16 + recent versions of core and exec packages 2022-10-13 22:05:31 +02:00
Petr Dvořák
ba1a54f2f4
Update markdown-utils.ts 2022-10-05 22:01:58 +02:00
Petr Dvořák
ae902f665e
Fix #199: Use instead of ✔️ for better cross platform look
- Use the  for passed tests
- Use the  for skipped tests
2022-10-05 22:01:28 +02:00