Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix end to end test build script #5910

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

buggmagnet
Copy link
Contributor

@buggmagnet buggmagnet commented Mar 7, 2024

This change is Reviewable

@buggmagnet buggmagnet added the iOS Issues related to iOS label Mar 7, 2024
@buggmagnet buggmagnet self-assigned this Mar 7, 2024
Copy link

linear bot commented Mar 7, 2024

Copy link
Collaborator

@niklasberglund niklasberglund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The end to end tests README also mention rustup target install instead of add https://github.com/mullvad/mullvadvpn-app/blob/main/ios/MullvadVPNUITests/README.md#set-up-of-runner-environment

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @buggmagnet)


.github/workflows/ios-end-to-end-tests.yml line 33 at r1 (raw file):

      - name: Configure Rust
        run: rustup target install aarch64-apple-ios aarch64-apple-ios-sim

The fix is good but I started thinking if we should remove the Rust and Go setup actions, what do you think? Because its a self-hosted runner installed dependencies are persistent. Rust and Go are already installed manually https://github.com/mullvad/mullvadvpn-app/blob/main/ios/MullvadVPNUITests/README.md#set-up-of-runner-environment so don't have to attempt to install them here. Its easier to maintain version numbers of dependencies when its specified in the workflow file rather than manually installed on the computer though. We could also remove the manual steps from the README.

Copy link
Contributor Author

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @niklasberglund)


.github/workflows/ios-end-to-end-tests.yml line 33 at r1 (raw file):

Previously, niklasberglund (Niklas Berglund) wrote…

The fix is good but I started thinking if we should remove the Rust and Go setup actions, what do you think? Because its a self-hosted runner installed dependencies are persistent. Rust and Go are already installed manually https://github.com/mullvad/mullvadvpn-app/blob/main/ios/MullvadVPNUITests/README.md#set-up-of-runner-environment so don't have to attempt to install them here. Its easier to maintain version numbers of dependencies when its specified in the workflow file rather than manually installed on the computer though. We could also remove the manual steps from the README.

We can do that in a separate PR

Copy link
Collaborator

@niklasberglund niklasberglund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @buggmagnet)


.github/workflows/ios-end-to-end-tests.yml line 33 at r1 (raw file):

Previously, buggmagnet wrote…

We can do that in a separate PR

Yes, sounds good 👍

Copy link
Collaborator

@niklasberglund niklasberglund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xcodebuild is failing with error code 65. I did a test run from this branch https://github.com/mullvad/mullvadvpn-app/actions/runs/8185722159

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @buggmagnet)

@buggmagnet buggmagnet merged commit 1b1fd65 into main Mar 7, 2024
3 of 5 checks passed
@buggmagnet buggmagnet deleted the fix-ios-end-to-end-test-gh-script-ios-548 branch March 7, 2024 09:22
Copy link

github-actions bot commented Mar 7, 2024

🚨 End to end tests failed. Please check the failed workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants