-
-
Notifications
You must be signed in to change notification settings - Fork 523
56 lines (51 loc) · 1.35 KB
/
tests.yaml
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
48
49
50
51
52
53
54
55
56
name: Tests
on:
- push
- pull_request
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent
- name: Lint files
run: yarn lint
flow:
name: Flow types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent
- name: Check flow types
run: yarn flow
android:
name: Android Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Use JDK 1.11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Use Android SDK
uses: android-actions/setup-android@v2
- name: Install example project dependencies
run: yarn --frozen-lockfile --non-interactive --silent
working-directory: KeychainExample
- name: Run Android unit tests
run: yarn test