Pulls before pushing

Change-Id: Ie376aa0cd2a4494de3b41a152cdacaf85ba9714a
ben/dropshots
Jose Alcérreca 3 months ago
parent 3fd1162bd1
commit dc30bced93

@ -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