Skip to content

Commit

Permalink
Use a different syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
buggmagnet committed Jul 23, 2024
1 parent 0bf4fb2 commit 5f9e65f
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/actions/run-ios-e2e-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,17 @@ runs:
TEST_DEVICE_UDID: ${{ inputs.test_device_udid }}

- name: Run end-to-end-tests
run: |
if [ -n "$TEST_NAME" ]; then
TEST_NAME_ARGUMENT=" -only-testing $TEST_NAME"
else
TEST_NAME_ARGUMENT=""
fi
set -o pipefail && env NSUnbufferedIO=YES xcodebuild \
-project MullvadVPN.xcodeproj \
-scheme MullvadVPNUITests \
-testPlan MullvadVPNUITestsAll $TEST_NAME_ARGUMENT \
-resultBundlePath ${{ env.TEST_OUTPUT_DIRECTORY }}/xcode-test-report \
-derivedDataPath derived-data \
-destination "platform=iOS,id=$TEST_DEVICE_UDID" \
test-without-building 2>&1 \| xcbeautify --report junit \
run: >
if [ -n "$TEST_NAME" ]; then TEST_NAME_ARGUMENT=" -only-testing $TEST_NAME"; else TEST_NAME_ARGUMENT=""; fi
set -o pipefail && env NSUnbufferedIO=YES xcodebuild
-project MullvadVPN.xcodeproj
-scheme MullvadVPNUITests
-testPlan MullvadVPNUITestsAll $TEST_NAME_ARGUMENT
-resultBundlePath ${{ env.TEST_OUTPUT_DIRECTORY }}/xcode-test-report
-derivedDataPath derived-data
-destination "platform=iOS,id=$TEST_DEVICE_UDID"
test-without-building 2>&1 | xcbeautify --report junit
--report-path ${{ env.TEST_OUTPUT_DIRECTORY }}/junit-test-report
shell: bash
working-directory: ${{ inputs.outputs_path }}/mullvadvpn-app/ios
Expand Down

0 comments on commit 5f9e65f

Please sign in to comment.