Skip to content

Support acc

Support acc #377

Workflow file for this run

on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
name: Run Test Cases
jobs:
test-on-mac:
runs-on: macos-12
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup Java Version
uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
cache: gradle
- name: Run Cases
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 22
profile: Nexus 6
arch: x86_64
script: |
./gradlew connectedCheck
./gradlew build
./gradlew :library:createDebugAndroidTestCoverageReport --info --stacktrace
./gradlew connectedAndroidTest --info --stacktrace
- name: Upload coverage.txt
run: |
bash <(curl -s https://codecov.io/bash)