Skip to content

[NSDK-217] Update the WebView URL - Client Specific #136

[NSDK-217] Update the WebView URL - Client Specific

[NSDK-217] Update the WebView URL - Client Specific #136

name: Pull request CI checks
on: [pull_request]
jobs:
build:
name: Gradle build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
lint:
name: Lint checks
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Ktlint
run: ./gradlew ktlint
- name: Lint
run: ./gradlew lint
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Unit tests
run: ./gradlew testDebugUnitTest
- uses: actions/upload-artifact@v4
if: failure()
with:
name: unit-test-report
path: ./**/build/reports/tests/testDebugUnitTest/