xcresulttool icon indicating copy to clipboard operation
xcresulttool copied to clipboard

Question: Is it possible to print only high level summaries and failures?

Open ryanbooker opened this issue 3 years ago • 1 comments

We have hundreds of tests and if I try the following settings I still end up with hundreds of lines. It doesn't even get through the test listing before running out of characters. It seems to post a summary for every individual test class.

I'd like to post only the overall Code Coverage summary, overall Test Results summary, and test failures.

Am I doing something wrong, is this possible?

      - uses: kishikawakatsumi/[email protected]
        if: success() || failure()
        with:
          path: path/to/foo.xcresult
          show-code-coverage: true
          show-passed-tests: false

Thanks for the action, and any advice you may have. :)

ryanbooker avatar Feb 08 '22 03:02 ryanbooker

Hey @ryanbooker , you could convert the xcresult bundle into a json and parse it for the necessary information.

denil-ct avatar Apr 12 '22 14:04 denil-ct