Skip to content

Commit

Permalink
chore: log xml data
Browse files Browse the repository at this point in the history
  • Loading branch information
devcatalin committed Oct 1, 2024
1 parent 82c3d5a commit 0f8a3f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/testworkflow-toolkit/artifacts/junit_post_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (p *JUnitPostProcessor) Add(path string) error {
if err != nil {
return errors.Wrapf(err, "failed to read %s", path)
}
fmt.Printf("================ XML Data Start ================\n%s\n================ XML Data End ================\n", xmlData)
ok := isJUnitReport(xmlData)
if !ok {
fmt.Printf("Skipping non-JUnit report: %s\n", ui.LightCyan(path))
Expand Down

0 comments on commit 0f8a3f2

Please sign in to comment.