dodorare / dodorare/crossbow

Add Emulator and Simulator launch and testing in CI

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
212
Forks
14
Avg merge
7h 23m
Merged PRs (30d)
13

Description

## What problem does this solve, or what need does it fill?

The current Github Actions setup doesn't actually run Android and iOS applications on the iOS Simulator and Android Emulator. So it's hard to tell if the built application works as expected.

## What solution would you like?

We can add two extra steps for Android and iOS build Actions: run [Android Emulator](https://github.com/marketplace/actions/android-emulator-runner) and run [iOS Simulator](https://github.com/marketplace/actions/launch-ios-simulator). Then we can run the `crossbundle run` command, read logs and find a specific log that we print from the Application example/test.

## What alternative(s) have you considered?

I don't think anything else will be as bulletproof as running an actual Emulator or Simulator to test the correct work of application, but if someone knows a better solution - please refer to it in the comments on this issue. Also, to test Github Actions locally: use [act](https://github.com/nektos/act).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.