summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-08-25 10:29:06 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-08-25 10:29:06 +0200
commit082201f0e662b6c2811e5129519d07a527868ad7 (patch)
tree2e32e761bd88d69b814d2d86cd0615801f3d1eef /.github/workflows
parent6aa85f643c08cd8409b2136fcc4673941c130730 (diff)
parentb27e9f7b73701aba0ae546f0a1575a5268b51866 (diff)
downloadmullvadvpn-082201f0e662b6c2811e5129519d07a527868ad7.tar.xz
mullvadvpn-082201f0e662b6c2811e5129519d07a527868ad7.zip
Merge branch 'update-gh-ci'
Diffstat (limited to '.github/workflows')
-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/