Skip to content

Commit 2074905

Browse files
committed
ci: improve test coverage on push
1 parent 62ccd46 commit 2074905

File tree

2 files changed

+31
-22
lines changed

2 files changed

+31
-22
lines changed

.github/workflows/pull-request.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Build and Test"
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
js-tests:
7+
name: "JS Tests"
8+
runs-on: macOS-latest
9+
steps:
10+
- name: "Checkout"
11+
uses: actions/checkout@v2
12+
- uses: actions/setup-node@master
13+
- uses: c-hive/gha-yarn-cache@v1
14+
15+
- name: "Install node modules"
16+
run: |
17+
yarn install
18+
19+
- name: "Run test"
20+
run: |
21+
yarn test
22+
android-unit-tests:
23+
name: "Android Unit Tests"
24+
runs-on: ubuntu-18.04
25+
steps:
26+
- name: "Checkout"
27+
uses: actions/checkout@v2
28+
29+
- name: "Run Android Unit Tests"
30+
working-directory: android
31+
run: ./gradlew test

.github/workflows/react-ci.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)