Skip to content

fix(android): fix test #7

fix(android): fix test

fix(android): fix test #7

Workflow file for this run

name: android
on:
push:
branches:
- run-android-tests-on-ci
pull_request:
branches:
- main
paths:
- 'measure-android/**'
env:
JAVA_VERSION: 17
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
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 }}
- name: Check Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Check lint
run: ./gradlew :measure:lint
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
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 }}
- name: Unit tests
run: ./gradlew :measure:testDebugUnitTest
- name: Android Test Report
uses: asadmansr/[email protected]
if: ${{ always() }}