|
|
|
@ -76,6 +76,7 @@ local sim_delete_cmd = 'if [ -f build/artifacts/sim_uuid ]; then rm -f /Users/$U
|
|
|
|
|
commands: [
|
|
|
|
|
sim_delete_cmd,
|
|
|
|
|
|||
|
|
|
|
|
which xcresultparser
|
|
|
|
|
if [[ -d ./build/artifacts/testResults.xcresult ]]; then
|
|
|
|
|
xcresultparser --output-format cli --failed-tests-only ./build/artifacts/testResults.xcresult
|
|
|
|
|
else
|
|
|
|
@ -91,6 +92,7 @@ local sim_delete_cmd = 'if [ -f build/artifacts/sim_uuid ]; then rm -f /Users/$U
|
|
|
|
|
{
|
|
|
|
|
name: 'Convert xcresult to xml',
|
|
|
|
|
commands: [
|
|
|
|
|
'which xcresultparser',
|
|
|
|
|
'xcresultparser --output-format cobertura ./build/artifacts/testResults.xcresult > ./build/artifacts/coverage.xml',
|
|
|
|
|
],
|
|
|
|
|
depends_on: ['Build and Run Tests'],
|
|
|
|
|