diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-08-16 21:07:18 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-08-18 11:56:46 +0200 |
| commit | 2b2271aad0c50589d0d5859f523e99d9552bb6f2 (patch) | |
| tree | 8a1967c91ca853fd2e008f506b9e9b9cad5f317c /.github/workflows | |
| parent | 163391e558a896367d128aa0e3c26b8026e55575 (diff) | |
| download | mullvadvpn-2b2271aad0c50589d0d5859f523e99d9552bb6f2.tar.xz mullvadvpn-2b2271aad0c50589d0d5859f523e99d9552bb6f2.zip | |
Run xcodebuild manually, pass output to xcbeautify
- Disable: MullvadVPNScreenshots -- this is the target used by fastlane snapshot. This won't work on CI and needs further discussion
- Add PacketTunnelCoreTests to test plan
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/ |
