mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-03 10:59:32 +00:00
35 lines
583 B
YAML
35 lines
583 B
YAML
name: Main workflow
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: macOS-latest
|
|
timeout-minutes: 20
|
|
strategy:
|
|
matrix:
|
|
api-level: [21, 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: default
|
|
abi: x86
|
|
headless: true
|