ben/dropshots
Jose Alcerreca 6 months ago
parent 283d5b6a04
commit 0a9d36d18f

@ -278,8 +278,6 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v4
@ -307,6 +305,11 @@ jobs:
- name: Create directory for AVD - name: Create directory for AVD
run: mkdir -p /home/runner/.android/avd run: mkdir -p /home/runner/.android/avd
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false
- name: Build projects and run instrumented screenshot tests - name: Build projects and run instrumented screenshot tests
id: dropshotsverify id: dropshotsverify
continue-on-error: true continue-on-error: true
@ -325,11 +328,7 @@ jobs:
./gradlew :app:connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests --daemon ./gradlew :app:connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests --daemon
- name: Breakpoint if tests failed - name: Breakpoint if tests failed
uses: namespacelabs/breakpoint-action@v0 run: top
if: steps.dropshotsverify.outcome == 'failure'
with:
duration: 30m
authorized-users: jack123, alice321
- name: Prevent pushing new screenshots if this is a fork - name: Prevent pushing new screenshots if this is a fork
id: checkfork_screenshots_instrumented id: checkfork_screenshots_instrumented

Loading…
Cancel
Save