Skip to content

Commit

Permalink
Trigger action
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Apr 13, 2023
1 parent de077dd commit 4dae8bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/android-qa-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Android QA tests

on:
workflow_dispatch:
push:
branches:
- "user-enumeration-attack-monitoring"
inputs:
pr_number:
description: 'PR number'
Expand Down Expand Up @@ -53,7 +55,7 @@ jobs:
script: |
adb root
mkdir -p android-app/app/build/outputs/test-artifacts
android-app/gradlew -p android-app --build-cache --no-daemon -PmanifestEndpoint=https://simple-review-pr-$PR_NUMBER.herokuapp.com/api/ installQaDebug installQaDebugAndroidTest
android-app/gradlew -p android-app --build-cache --no-daemon -PmanifestEndpoint=https://simple-review-pr-4872.herokuapp.com/api/ installQaDebug installQaDebugAndroidTest
adb shell am instrument -w -e filter org.simple.clinic.benchmark.SelectBenchmarkTests -e benchmark_app_performance false org.simple.clinic.qa.debug.test/org.simple.clinic.AndroidTestJUnitRunner >android-app/app/build/outputs/test-artifacts/logs.txt 2>android-app/app/build/outputs/test-artifacts/logs.txt
cat android-app/app/build/outputs/test-artifacts/logs.txt
adb pull /storage/emulated/0/Android/data/org.simple.clinic.qa.debug/ android-app/app/build/outputs/test-artifacts/ || true
Expand Down

0 comments on commit 4dae8bd

Please sign in to comment.