-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (38 loc) 路 1.02 KB
/
android_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Android Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
android_tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup_jdk
- name: Run Android Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
arch: x86_64
ram-size: 4096M
heap-size: 2048M
script: ./gradlew connectedAndroidTest
- name: Upload Test Reports Folder
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: reports
path: image_engine/build/reports/androidTests
report:
runs-on: ubuntu-latest
needs: android_tests
if: ${{ always() }}
steps:
- name: Download Test Reports Folder
uses: actions/download-artifact@v2
with:
name: reports
- name: Android Test Report
uses: asadmansr/android-test-report-action@v1.2.0