diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-08-18 12:37:10 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-08-18 12:37:10 +0200 |
| commit | 4f3c7d757a0f49d69dd3f064974dbde3c309ef3a (patch) | |
| tree | f4b16e27dfea38cd7f5777fe65796d0cb5a3dd19 /.github/workflows | |
| parent | 163391e558a896367d128aa0e3c26b8026e55575 (diff) | |
| parent | cf99a3f75f74686b0f0e466474504010817706dd (diff) | |
| download | mullvadvpn-4f3c7d757a0f49d69dd3f064974dbde3c309ef3a.tar.xz mullvadvpn-4f3c7d757a0f49d69dd3f064974dbde3c309ef3a.zip | |
Merge branch 'gh-actions-test-plan-ios-274'
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ios.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index c5cf334673..fa4f93680b 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -74,12 +74,18 @@ jobs: cp Screenshots.xcconfig.template Screenshots.xcconfig working-directory: ios/Configurations + - name: Install xcbeautify + run: | + brew update + brew install xcbeautify + - name: Run tests - uses: sersoft-gmbh/xcodebuild-action@v2 - with: - project: ios/MullvadVPN.xcodeproj - scheme: MullvadVPN - skip-testing: MullvadVPNScreenshots - destination: platform=iOS Simulator,OS=16.4,name=iPhone 14 - action: test - cloned-source-packages-path: ios/${{ env.SOURCE_PACKAGES_PATH }} + run: | + NSUnbufferedIO=YES set -o pipefail && \ + xcodebuild -project MullvadVPN.xcodeproj \ + -scheme MullvadVPN \ + -testPlan MullvadVPNCI \ + -destination "platform=iOS Simulator,OS=16.4,name=iPhone 14" \ + -clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \ + test 2>&1 | xcbeautify + working-directory: ios/ |
