Bump hilt from 2.48.1 to 2.50 #719
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- 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/[email protected] | |
- 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/[email protected] | |
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/[email protected] | |
- name: Setup Android Build | |
uses: ./.github/actions/setup-android-build | |
- name: Run instrumented tests | |
uses: reactivecircus/[email protected] | |
with: | |
api-level: 30 | |
arch: x86_64 | |
disable-animations: true | |
script: ./gradlew :app:connectedPinboardapiDebugAndroidTest --stacktrace |