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

@ -278,8 +278,6 @@ jobs:
- name: Checkout
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
uses: actions/setup-java@v4
@ -307,6 +305,11 @@ jobs:
- name: Create directory for 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
id: dropshotsverify
continue-on-error: true
@ -325,11 +328,7 @@ jobs:
./gradlew :app:connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests --daemon
- name: Breakpoint if tests failed
uses: namespacelabs/breakpoint-action@v0
if: steps.dropshotsverify.outcome == 'failure'
with:
duration: 30m
authorized-users: jack123, alice321
run: top
- name: Prevent pushing new screenshots if this is a fork
id: checkfork_screenshots_instrumented

Loading…
Cancel
Save