-
-
Notifications
You must be signed in to change notification settings - Fork 179
47 lines (42 loc) · 994 Bytes
/
workflow.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
46
47
name: Main workflow
on:
pull_request:
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
test:
runs-on: macOS-latest
timeout-minutes: 10
strategy:
matrix:
api-level: [21, 23, 29]
steps:
- name: checkout
uses: actions/checkout@v2
- name: build, test and lint
run: |
npm install
npm run build
npm run lint
npm test
- name: Prepare test fixture
run: cp -a ./test-fixture/* ./
- name: Java 13
uses: actions/setup-java@v1
with:
java-version: 13
- name: run action
uses: ./
with:
api-level: ${{ matrix.api-level }}
target: google_apis
arch: x86
profile: Nexus 6
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
./gradlew help
./gradlew connectedDebugAndroidTest