Skip to content

Commit

Permalink
Add runFlank to GitHub Build Action (fixes #2304)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 27, 2023
1 parent c9202c9 commit c3a8e9c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,23 @@ jobs:
- name: Check with Gradle
run: ./gradlew check --scan --full-stacktrace

- name: Package (build) APKs for Device UI Tests
# TODO(vorburger) Are both the Debug *AND* Release packages actually required for Device UI Tests?
# TODO(vorburger) Could building these be parallelized? Can Gradle do that, if invoked differently, or should we parallelize with Bash?
run: ./gradlew packageDebugAndroidTest --scan --stacktrace && ./gradlew packageReleaseAndroidTest --scan --stacktrace

- id: auth
name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1
# NB: actions/checkout must be before google-github-actions/auth
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'

- name: Run Device UI Tests on Firebase Test Lab with Flank
# TODO(vorburger) Run all modules (not just engine:), like in //kokoro/gcp_ubuntu/kokoro_build.sh
# TODO(vorburger) Parallelize and Bash `wait` as in kokoro_build.sh, or just run sequentially?!
run: ./gradlew :engine:runFlank --scan --stacktrace

- name: Release artifacts to local repo
run: ./gradlew publishReleasePublicationToCIRepository --scan
- name: Upload maven repo
Expand Down

0 comments on commit c3a8e9c

Please sign in to comment.