Files
android-emulator-runner/.github/workflows/workflow.yml
T
2019-11-30 22:02:47 +11:00

38 lines
683 B
YAML

name: Main workflow
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: macOS-latest
timeout-minutes: 10
strategy:
matrix:
api-level: [21, 23, 29]
steps:
- name: checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: build, test and lint
run: |
npm install
npm run build
npm run lint
npm test
- name: run action
uses: ./
with:
api-level: ${{ matrix.api-level }}
target: google_apis
arch: x86_64
profile: Nexus 6
headless: true
disable-animations: true
script: adb devices -l