Skip to content

Commit

Permalink
Bp core (#60)
Browse files Browse the repository at this point in the history
### To be filled by the PR creator:

* A brief description of the changes made - 

* Do we have clean latest run report (Docker or Browserstack) attached
with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

* Does the PR contain changes to any core file?
  * [ ] Yes (Needs approval from at least 1 people)
  * [ ] No

* Is it
  * [ ] New Testcase
  * [ ] Fix


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Docker or
Browserstack run)

* General
    * [ ] Use the best strategy to locate the elements
    * [ ] Comments wherever the code is not readable by itself
    * [ ] Use of the right data structure for the use case
    * [ ] Reuse logic/functionality as much as possible
    * [ ] Cleanup of any test data that is generated by the tests
    * [ ] No static waits
  • Loading branch information
Tauqir Sarwar authored Mar 22, 2024
2 parents c479367 + 618dce2 commit a2a4b61
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/docker_android_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,23 @@ jobs:
sleep 10
appium -v
# - name: Android Emulator Runner Without SDK Setup
# uses: RandyLutcavich/[email protected]

- name: Check out code
id: co_code
if: steps.install_driver.outcome == 'success'
uses: actions/checkout@v4

- name: Setup dependencies
id: setup_dependencies
if: steps.co_code.outcome == 'success'
run: |
sh setup_install.sh
- name: Run Android Emulator
id: run_emulator
if: steps.setup_appium.outcome == 'success'
if: steps.setup_dependencies.outcome == 'success'
uses: ReactiveCircus/android-emulator-runner@v2
with:
api-level: 30
Expand All @@ -144,7 +158,7 @@ jobs:
disable-animations: true
target: default
arch: x86_64
script: echo "Generated AVD"
script: echo "Generated AVD Started"

- name: Run Android Emulator Again
id: run_emulator_again
Expand All @@ -157,20 +171,9 @@ jobs:
sleep 5
./emulator -avd test -no-snapshot-save -no-window -grpc-use-jwt -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
- name: Check out code
id: co_code
if: steps.run_emulator_again.outcome == 'success'
uses: actions/checkout@v4

- name: Setup dependencies
id: setup_dependencies
if: steps.co_code.outcome == 'success'
run: |
sh setup_install.sh
- name: Run Tests
id: run_manual_job
if: steps.setup_dependencies.outcome == 'success'
if: steps.run_emulator_again.outcome == 'success'
run: |
TAGS="${{ github.event.inputs.tags }}"
env
Expand Down

0 comments on commit a2a4b61

Please sign in to comment.