- Run
yarnto install the JS dependencies. - Run
yarn testto run the JS tests (viajest). - Run
yarn startto run the app in development mode. You can open it in the Expo app on your phone. It will reload as you save edits to your files. You will see error messages and logs in your terminal window.
This requires Xcode 9 or newer.
- Run
bundle installin theiosdirectory to install all dependencies. - Run
yarn run iosto start the app in the iOS simulator.
You can also build the app directly by opening the iOS project in Xcode and clicking Product -> Run.
To run tests, either select Product -> Test in Xcode, or run
bundle exec fastlane test in the command line inside the ios
directory.
- Run
bundle installin theandroiddirectory to install all dependencies. - Run
yarn run androidto start the app in the Android emulator.
To run tests, run bundle exec fastlane test in the command line inside
the android directory.
You can run individual jobs from the configuration file using the CircleCI CLI.
Please see this doc
for details on how to install the CLI. Once it is installed, you can run
the build job by running the following in the root of this repo:
circleci buildTo run the Android job, you can run the following:
circleci build --job androidIt is currently not possible to run the iOS job locally.
This example is ready to be built on CircleCI. Once you have copied or forked the repository, navigate to the CircleCI web interface, choose Projects and then Add project. Select a project and click Start building.
Try pushing some changes to your repo to see how a JS job runs, and then the Android and iOS tests get run concurrently.