-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (37 loc) · 981 Bytes
/
main.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
name: Check code style
on:
push:
branches: [ "main","develop" ]
pull_request:
branches: [ "main","develop" ]
env:
G_USERNAME: ${{vars.G_USERNAME}}
G_TOKEN: ${{vars.G_TOKEN}}
jobs:
check-code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: Check code style
shell: bash
run: ./gradlew lintKotlin
run-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: "Test Username"
run: echo "$G_USERNAME"
- name: Run Unit Test Android Test Module
shell: bash
run: ./gradlew :test:testDebugUnitTest
- name: Run Unit Test iOS Test Module
shell: bash
run: ./gradlew :test:iosSimulatorArm64Test