Skip to content

Bump com.squareup.leakcanary:leakcanary-android from 2.12 to 2.13 #723

Bump com.squareup.leakcanary:leakcanary-android from 2.12 to 2.13

Bump com.squareup.leakcanary:leakcanary-android from 2.12 to 2.13 #723

Workflow file for this run

name: Android CI
on: [ push ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Project Checkout
uses: actions/checkout@v4.1.1
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Run Tests
run: ./gradlew testPinboardapiDebugUnitTest --stacktrace
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Project Checkout
uses: actions/checkout@v4.1.1
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Build
run: ./gradlew assemblePinboardapi --stacktrace
- name: Upload Pinboard API APK
if: success()
uses: actions/upload-artifact@v3.1.3
with:
path: app/build/outputs/apk/pinboardapi/debug/*.apk
instrumented_tests:
name: Instrumented Tests
runs-on: macOS-latest
timeout-minutes: 30
needs: [ unit_tests, build ]
steps:
- name: Project Checkout
uses: actions/checkout@v4.1.1
- name: Setup Android Build
uses: ./.github/actions/setup-android-build
- name: Run instrumented tests
uses: reactivecircus/android-emulator-runner@v2.28.0
with:
api-level: 30
arch: x86_64
disable-animations: true
script: ./gradlew :app:connectedPinboardapiDebugAndroidTest --stacktrace