summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorSteffen <steffen.ernst@mullvad.net>2025-05-21 09:53:42 +0200
committerBug Magnet <marco.nikic@mullvad.net>2025-05-26 16:27:44 +0200
commit5861d426bc08c6b3ab643f41ea0d9cc6199a2f81 (patch)
tree8f353ac2558054cdb230490ef7727de79598bdbf /.github
parentbb6704202e1e50c148e330a4d5a553a38b102252 (diff)
downloadmullvadvpn-5861d426bc08c6b3ab643f41ea0d9cc6199a2f81.tar.xz
mullvadvpn-5861d426bc08c6b3ab643f41ea0d9cc6199a2f81.zip
Add ui test build step to ios ci
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ios.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index b174d04a10..48184d848d 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -46,6 +46,30 @@ jobs:
swiftlint --reporter github-actions-logging
working-directory: ios
+ ui-test-build:
+ name: Build for ui tests (staging)
+ runs-on: macos-15
+ env:
+ SOURCE_PACKAGES_PATH: .spm
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Setup project
+ uses: ./.github/actions/ios/setup-project-toolchain
+
+ - name: Build for ui tests
+ run: |
+ set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
+ -project MullvadVPN.xcodeproj \
+ -scheme MullvadVPNUITests \
+ -testPlan MullvadVPNUITestsAll \
+ -clonedSourcePackagesDirPath "$SOURCE_PACKAGES_PATH" \
+ -disableAutomaticPackageResolution \
+ -destination "platform=iOS Simulator,name=iPhone 16" \
+ clean build-for-testing 2>&1 | xcbeautify
+ working-directory: ios/
+
test:
name: Unit tests
runs-on: macos-15-xlarge