Skip to content

Feature/DIOS-7069 Better Layer Switching #395

Feature/DIOS-7069 Better Layer Switching

Feature/DIOS-7069 Better Layer Switching #395

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
permissions:
contents: read
packages: write
env:
GIT_USERNAME: "dolbyio-gh-bot"
jobs:
Validate-Build-And-Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Validate
env:
GIT_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew spotlessCheck
./gradlew lint
./gradlew assembleDebug --info
- name: Run unit tests
env:
GIT_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew clean :uikit:testDebugUnitTest --info