mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 21:27:01 +05:30
github: fix CI workflow to include screenshot tests
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
5d5f602e80
commit
68431d4a25
1 changed files with 2 additions and 7 deletions
9
.github/workflows/pull_request.yml
vendored
9
.github/workflows/pull_request.yml
vendored
|
@ -21,18 +21,13 @@ jobs:
|
|||
- name: Copy CI gradle.properties
|
||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
||||
- uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
||||
name: Run unit tests
|
||||
with:
|
||||
arguments: test --stacktrace
|
||||
|
||||
- name: Run instrumentation tests
|
||||
- name: Run unit and instrumentation tests
|
||||
uses: reactivecircus/android-emulator-runner@d2799957d660add41c61a5103e2fbb9e2889eb73
|
||||
with:
|
||||
api-level: 30
|
||||
target: google_apis
|
||||
script: |
|
||||
./gradlew :app:connectedDebugAndroidTest
|
||||
./gradlew test executeScreenshotTests --stacktrace
|
||||
|
||||
- name: (Fail-only) upload test report
|
||||
if: failure()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue