Pulls before pushing

Change-Id: Ie376aa0cd2a4494de3b41a152cdacaf85ba9714a
ja/edge-to-edge-dropshots
Jose Alcérreca 6 months ago
parent 82f79d386a
commit 4508e8fa0e

@ -227,13 +227,17 @@ jobs:
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# script: adb shell rm -rf /storage/emulated/0/Download/screenshots && ./gradlew connectedDemoDebugAndroidTest -Pdropshots.record --stacktrace
- name: Pull Remote Changes (in case another job already uploaded screenshots)
if: steps.dropshotsverify.outcome == 'failure'
run: git pull
- name: Push new device screenshots if available
uses: stefanzweifel/git-auto-commit-action@4b8a201e31cadd9829df349894b28c54e6c19fe6
if: steps.dropshotsverify.outcome == 'failure'
with:
file_pattern: 'app/src/androidTest/screenshots/*.png'
disable_globbing: true
commit_message: "🤖 Updates instrumented screenshots"
commit_message: "🤖 Updates instrumented screenshots. API ${{ matrix.api-level }}"
- name: Run local tests (including Roborazzi) for the combined coverage report (only API 30)
if: matrix.api-level == 30

Loading…
Cancel
Save