Export results of Macrobenchmark in bitrise

85 Views Asked by At

I am trying to run macrobenchmark in bitrise and I could do it with only gradle task which is:

benchmark:connectedAndroidTest

after I run this gradle task I can not see benchmark results in bitrise but in my local I can see that result file is inside of the:

benchmark/build/outputs/androidTest-results/connected/test-result.pb file.

How can I export this result?

My bitrise workflow is something like:

workflow:

export test result task config

1

There are 1 best solutions below

2
On

The Export test results to Test Reports add-on step only supports JUnit XML test report files.

For other file types you should use the Deploy to Bitrise.io step which will make the file available on the build's page on the Artifacts tab. See the official guide at: https://devcenter.bitrise.io/en/builds/managing-build-files/build-artifacts-online.html#deploying-files-into-artifacts

enter image description here