This setup runs iOS on a Mac mini instance and Android on a Linux instance, one workflow each, following the rules in Mobile jobs.
Add Codemagic workflows that run this project's e2e tests on iOS and Android. Docs: https://e2e.tester.army/docs/ci/codemagic.md and https://e2e.tester.army/docs/ci.md
- Read both pages.
- Add the workflows to
codemagic.yaml. Adapt the project paths, scheme, and Node version to this project. - Ask me to add the model key to an
e2eenvironment variable group, marked as secret. - After I start a build, read the build log and fix errors until both workflows pass.
Workflow
The Ubuntu image has AVDs named emulator (API 34), emulator-35, and
emulator-36. Linux instances need billing enabled. test_report sends
junit.xml to the Tests tab of the build.
Model key
Put the model key in the e2e environment variable group, marked as
secret. Each build that reads the group can read the key, untrusted pull
request code included. Trigger pull request builds with this group only
for contributors you trust. See
Model credentials.