-
Notifications
You must be signed in to change notification settings - Fork 387
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
Updated workflow to be compatible with xcconfig changes in main #5918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @niklasberglund)
.github/workflows/ios-end-to-end-tests.yml
line 46 at r1 (raw file):
"/TEST_DEVICE_IDENTIFIER_UUID =/ s/= .*/= $TEST_DEVICE_IDENTIFIER_UUID/" \ UITests.xcconfig printf "\n" >> UITests.xcconfig
Is there any reason we use printf
instead of echo
here ? We don't need to format any arguments, so I don't see why those wouldn't be echo
calls instead
ceaba02
to
0942e57
Compare
There was a problem hiding this 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 @buggmagnet and @rablador)
.github/workflows/ios-end-to-end-tests.yml
line 46 at r1 (raw file):
Previously, buggmagnet wrote…
Is there any reason we use
printf
instead ofecho
here ? We don't need to format any arguments, so I don't see why those wouldn't beecho
calls instead
Its common practice for shell scripts to use printf
instead of echo
because of portability issues with echo
. In this case we don't need high portability anyways and it's not advanced usage that is likely to differ between different platforms which we're not going to be running this on either way. Have changed to using echo
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved
0942e57
to
238d47b
Compare
Adapted to changes that have been merged to
main
which affect the workflow:MULLVAD_IOS_DEVICE_PIN_CODE
has been renamed toIOS_DEVICE_PIN_CODE
UITests.xcconfig.template
HAS_TIME_ACCOUNT_NUMBER
andNO_TIME_ACCOUNT_NUMBER
are specified per configuration.This change is