summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2024-10-23 10:34:09 +0200
committerEmīls <emils@mullvad.net>2024-10-23 10:34:09 +0200
commit53778b58d8ada77a992097df9a99ef00cd06183d (patch)
tree11f537b0b8495c9580df0ee03590dc615a8b07a3
parenta728413a4ab3ec1536b7eb51b0681a65cf180b5e (diff)
parentada62c1e745a2200b03a3b97af0e31539f76d42a (diff)
downloadmullvadvpn-53778b58d8ada77a992097df9a99ef00cd06183d.tar.xz
mullvadvpn-53778b58d8ada77a992097df9a99ef00cd06183d.zip
Merge branch 'add-test-reports-as-artifacts-to-github-unit-test-runs-ios-858'
-rw-r--r--.github/workflows/ios.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index e68387fd7e..37eb333ecd 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -118,5 +118,17 @@ jobs:
-destination "platform=iOS Simulator,name=iPhone 15" \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
-disableAutomaticPackageResolution \
+ -resultBundlePath xcode-test-report \
test 2>&1 | xcbeautify
working-directory: ios/
+
+ - name: Archive test report
+ if: always()
+ run: zip -r test-report.zip ios/xcode-test-report.xcresult
+
+ - name: Store test report artifact
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: test-report
+ path: test-report.zip