summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ios.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index fa4f93680b..7f49ba1bdb 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -25,6 +25,7 @@ jobs:
run: |
swiftformat --version
swiftformat --lint .
+ working-directory: ios
swiftlint:
name: Run swiftlint
@@ -35,7 +36,9 @@ jobs:
- name: Run swiftlint
run: |
+ swiftlint --version
swiftlint --reporter github-actions-logging
+ working-directory: ios
test:
name: Unit tests
@@ -81,11 +84,11 @@ jobs:
- name: Run tests
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
+ set -o pipefail && env NSUnbufferedIO=YES 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/