-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (39 loc) · 1.17 KB
/
kong.yml
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
name: KONG
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
env:
test_api_key: ${{ secrets.KONG_SERVER_SDK_KEY }}
test_client_key: ${{ secrets. KONG_CLIENT_SDK_KEY }}
repo_pat: ${{ secrets.KONG_FINE_GRAINED_REPO_PAT }}
FORCE_COLOR: true
jobs:
KONG:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Get KONG
run: git clone https://oauth2:[email protected]/statsig-io/kong.git .
- uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
build/
key: ${{ runner.os }}-android-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-android-gradle-
- name: Install Deps
run: npm install
- name: Setup Android SDK
run: npm run kong -- setup android -v
- name: Run Tests
run: npm run kong -- test android -v -r