Skip to content

Commit d95c098

Browse files
committed
add sample app and kite tests
1 parent 5a6b867 commit d95c098

37 files changed

+14552
-4
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ignore kite files
2+
test/kite/
3+
test/demo

.github/workflows/app.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
matrix:
2424
node_version: [14.x]
2525
app_type:
26-
- DemoApp
26+
- WebRtcDemo
2727
include:
28-
- app_type: DemoApp
28+
- app_type: WebRtcDemo
2929
env:
3030
SCRIPT_DIR: ./test/scripts
3131
steps:
@@ -48,6 +48,12 @@ jobs:
4848
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
4949
restore-keys: |
5050
${{ runner.os }}-maven-
51+
- name: 'SETUP: npm install and link in library'
52+
run: |
53+
npm ci
54+
npm link
55+
- name: 'SETUP: Generate Expo App'
56+
run: $SCRIPT_DIR/generate-app.sh
5157
- name: 'SETUP: Clone Kite'
5258
run: $SCRIPT_DIR/clone-kite.sh
5359
- name: 'SETUP: Config Git'
@@ -76,6 +82,9 @@ jobs:
7682
with:
7783
name: kite-artifacts-${{ matrix.app_type }}
7884
path: |
85+
${{ runner.workspace }}/WebRtcDemo
86+
!${{ runner.workspace }}/WebRtcDemo/node_modules
87+
!${{ runner.workspace }}/WebRtcDemo/.expo
7988
${{ runner.workspace }}/KITE/KITE-Example-Test
8089
!${{ runner.workspace }}/KITE/KITE-Example-Test/target
8190
!${{ runner.workspace }}/KITE/KITE-Example-Test/js/node_modules

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ node_modules
55

66
# ignore IDE files
77
.idea
8+
*.iml
9+
10+
# ignore kite files
11+
test/kite/logs
12+
test/kite/results
13+
test/kite/target
14+
test/kite/kite-allure-reports

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock.json
2+
test/kite

0 commit comments

Comments
 (0)