Skip to content

ci: disable test results #12

ci: disable test results

ci: disable test results #12

Workflow file for this run

name: Android CI
on:
push:
branches:
- run-android-tests-on-ci
pull_request:
branches:
- main
paths:
- 'measure-android/**'
env:
JAVA_VERSION: 17
CACHE_VERSION: 1
jobs:
checks:
name: Checks
runs-on: self-hosted
defaults:
run:
working-directory: measure-android
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci-scripts/ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ env.CACHE_VERSION }}-${{ hashFiles('**/**.gradle.kts', '**/gradle/wrapper/gradle-wrapper.properties', '**/libs.versions.toml') }}
- name: Check Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Check lint
run: ./gradlew :measure:lint
unit-tests:
name: Unit tests
runs-on: self-hosted
defaults:
run:
working-directory: measure-android
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci-scripts/ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ env.CACHE_VERSION }}-${{ hashFiles('**/**.gradle.kts', '**/gradle/wrapper/gradle-wrapper.properties', '**/libs.versions.toml') }}
- name: Unit tests
run: ./gradlew :measure:testDebugUnitTest