ios-base
ios-base copied to clipboard
Fastlane to run test suite.
Description:
Updates to the Fastfile and Github actions configuration files.
-
The build lanes will now run the signing and test suite first.
-
The
setup_google_servicesandupdate_remote_google_serviceslanes are an attempt to let the CI/CD(github actions in this case) to configure all Firebase secrets before building the application. The downsides of this approach are:- Needs some tweaking to support multiple environments.
- Needs to be replicated if more third party files are needed during the build phase but not added to the repository tree. PD: This is not really in the scope of this PR, more like an exploration for a solution to manage secrets and sensitive data.
Notes:
-
There is currently nothing forcing us to use Fastlane, considering the CI/CD platform recommended for all new projects is Bitrise.
The only thing we would need to change is to run the test suite from the Github actions by using
xcodebuild ... testrather than the fastlanerun_test_suitelane. If we decide NOT TO go with the Fastlane approach because it introduces complexity to the workflow, the minimum requirements I considere this repository should met are:
- The test suite must run for each PR and changes to
master - The code coverage report to Code Climate must continue working.
Risk:
- Low
Preview:
- N/A