-
-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement action to setup Android emulator in CI
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -281,12 +281,19 @@ jobs: | |
python -m pip install -U pip | ||
python -m pip install git+https://github.com/beeware/briefcase.git | ||
- name: Setup Android Emulator | ||
id: emulator | ||
if: matrix.backend == 'android' | ||
uses: rmartin16/.github-beeware/.github/actions/setup-android@setup-android | ||
with: | ||
emulator-config: '{"avd":"beePhone","skin":"pixel_3a"}' | ||
|
||
- name: Test App | ||
working-directory: testbed | ||
timeout-minutes: 15 | ||
run: | | ||
${{ matrix.briefcase-run-prefix }} \ | ||
briefcase run ${{ matrix.platform }} --test ${{ matrix.briefcase-run-args }} | ||
briefcase run ${{ matrix.platform }} --test ${{ matrix.briefcase-run-args }} ${{ steps.emulator.outputs.briefcase-run-args }} | ||
- name: Upload Logs | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CI now uses a centralized action to configure the environment for using the Android emulator. |