Skip to content
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

Update README for using with gradle/gradle-build-action #230

Merged
merged 3 commits into from
Mar 4, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ It is recommended to run this action on a **macOS** VM, e.g. `macos-latest`, `ma

A workflow that uses **android-emulator-runner** to run your instrumented tests on **API 29**:

```
```yml
Goooler marked this conversation as resolved.
Show resolved Hide resolved
jobs:
test:
runs-on: macos-latest
Expand All @@ -43,7 +43,7 @@ jobs:

We can also leverage GitHub Actions's build matrix to test across multiple configurations:

```
```yml
jobs:
test:
runs-on: macos-latest
Expand All @@ -67,7 +67,7 @@ jobs:

If you need specific versions of **NDK** and **CMake** installed:

```
```yml
jobs:
test:
runs-on: macos-latest
Expand All @@ -90,7 +90,7 @@ We can significantly reduce emulator startup time by setting up AVD snapshot cac
2. add a `reactivecircus/android-emulator-runner@v2` step to generate a clean snapshot - specify `emulator-options` without `no-snapshot`
3. add another `reactivecircus/android-emulator-runner@v2` step to run your tests using existing AVD / snapshot - specify `emulator-options` with `no-snapshot-save`

```
```yml
jobs:
test:
runs-on: macos-latest
Expand Down Expand Up @@ -138,6 +138,9 @@ jobs:
script: ./gradlew connectedCheck
```

Note: if you want to use [gradle-build-action](https://github.com/gradle/gradle-build-action) with `reactivecircus/android-emulator-runner`,
need to declare `uses: gradle/gradle-build-actionv2` without any arguments before `uses: reactivecircus/android-emulator-runner@v2`, more details see [#229](https://github.com/ReactiveCircus/android-emulator-runner/issues/229).

Goooler marked this conversation as resolved.
Show resolved Hide resolved
## Configurations

| **Input** | **Required** | **Default** | **Description** |
Expand Down