Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIMOB-2183: Add UI test GHA flow #247

Conversation

jheng-hao-lin-cko
Copy link
Contributor

@jheng-hao-lin-cko jheng-hao-lin-cko commented Oct 13, 2023

Issue

PIMOB-2197

Proposed changes

  • Add GHA flow to run Instrumented Tests
  • Add launch-emulator.sh to launch an emulator to run the UI tests
  • Abstract the other workflows to only run the workflow if the corresponding codes have changed

Checklist

  • Reviewers assigned
  • UI Tests run and pass, the successful run result can be found here

Further Comments

We can potentially run UI tests against multiple levels of Android API and system images to be more thorough

@jheng-hao-lin-cko jheng-hao-lin-cko self-assigned this Oct 13, 2023
@jheng-hao-lin-cko jheng-hao-lin-cko force-pushed the PIMOB-2183-add_UI_tests branch 7 times, most recently from 1f7925f to 963e7f3 Compare October 13, 2023 23:16
@jheng-hao-lin-cko jheng-hao-lin-cko changed the base branch from master to feature/PIMOB-2191_Upgrade_kotlin_compose_and_agp October 13, 2023 23:16
@fabio-insolia-cko fabio-insolia-cko force-pushed the feature/PIMOB-2191_Upgrade_kotlin_compose_and_agp branch from fad2634 to 91b60f7 Compare October 16, 2023 12:30
@jheng-hao-lin-cko jheng-hao-lin-cko marked this pull request as ready for review October 16, 2023 15:59
@jheng-hao-lin-cko jheng-hao-lin-cko requested a review from a team as a code owner October 16, 2023 15:59
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- name: Run unit tests with Gradle
run: ./gradlew :${{ inputs.module }}:${{ inputs.task }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@jheng-hao-lin-cko jheng-hao-lin-cko merged commit d9780de into feature/PIMOB-2191_Upgrade_kotlin_compose_and_agp Oct 17, 2023
3 of 4 checks passed
@jheng-hao-lin-cko jheng-hao-lin-cko deleted the PIMOB-2183-add_UI_tests branch October 17, 2023 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants