From 293bde63812de62297666fb35c3453b5540ba7c2 Mon Sep 17 00:00:00 2001 From: ahmadAlfhajri <82349749+ahmadAlfhajri@users.noreply.github.com> Date: Sun, 22 Dec 2024 16:01:14 +0800 Subject: [PATCH] Fix upload result test not saved correctly --- .github/workflows/ios-test-workflow.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ios-test-workflow.yml b/.github/workflows/ios-test-workflow.yml index 16f102b..63b2e4f 100644 --- a/.github/workflows/ios-test-workflow.yml +++ b/.github/workflows/ios-test-workflow.yml @@ -62,7 +62,7 @@ jobs: -destination "$DESTINATION" \ -enableCodeCoverage YES \ -resultBundlePath TestResults.xcresult \ - clean test | xcpretty --report junit && exit ${PIPESTATUS[0]} + clean test | xcpretty - name: Generate Test Report if: success() || failure() @@ -76,11 +76,10 @@ jobs: with: name: test-results path: | + TestResults.xcresult/**/* test_report.json coverage_report.json - TestResults.xcresult - build/reports/ - destinations.txt + if-no-files-found: error - name: Create Test Summary if: always()