fix(deps): update dependency androidx.test.ext:junit to v1.2.1 #969
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: Pre-merge checks | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Build and test project | |
working-directory: ${{ env.SAMPLE_PATH }} | |
run: ./gradlew androidApp:assembleDebug androidApp:testDebugUnitTest | |
test: | |
runs-on: macOS-latest | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
api-level: [21, 29] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up JDK 11 | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Run instrumentation tests | |
uses: reactivecircus/[email protected] | |
with: | |
api-level: ${{ matrix.api-level }} | |
disable-animations: true | |
script: ./gradlew androidApp:connectedCheck | |
- name: Upload test reports | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-reports | |
path: ${{ env.SAMPLE_PATH }}/app/build/reports |