@@ -131,6 +131,67 @@ jobs:
131131 # with:
132132 # name: "instrumented-orchestrator-tests-results"
133133 # path: android-core/build/orchestrator/**
134+ # instrumented-tests:
135+ # name: "Instrumented Tests"
136+ # timeout-minutes: 30
137+ # runs-on: ubuntu-latest
138+ # needs: create-regression-branch
139+ # steps:
140+ # - name: "Checkout future release branch"
141+ # uses: actions/checkout@v4
142+ # with:
143+ # repository: mparticle/mparticle-android-sdk
144+ # ref: regression/${{ github.run_number }}
145+ # - name: "Install JDK 17"
146+ # uses: actions/setup-java@v4
147+ # with:
148+ # distribution: "zulu"
149+ # java-version: "17"
150+ # cache: "gradle"
151+ # - name: "Run Instrumented Tests"
152+ # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
153+ # with:
154+ # api-level: 28
155+ # #script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
156+ # script: |
157+ # #Disable benchmark tests as they do not work on emulators
158+ # adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
159+ # ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
160+ # - name: "Archive Instrumented Test Results"
161+ # uses: actions/upload-artifact@v4
162+ # if: always()
163+ # with:
164+ # name: instrumented-test-results
165+ # path: android-core/build/reports/androidTests/connected/**
166+ #
167+ # instrumented-orchestrator-tests:
168+ # name: "Instrumented Orchestrator Tests"
169+ # timeout-minutes: 30
170+ # runs-on: ubuntu-latest
171+ # needs: create-regression-branch
172+ # steps:
173+ # - name: "Checkout Branch"
174+ # uses: actions/checkout@v4
175+ # with:
176+ # repository: mparticle/mparticle-android-sdk
177+ # ref: regression/${{ github.run_number }}
178+ # - name: "Install JDK 17"
179+ # uses: actions/setup-java@v4
180+ # with:
181+ # distribution: "zulu"
182+ # java-version: "17"
183+ # cache: "gradle"
184+ # - name: "Run Instrumented Orchestrator Tests"
185+ # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
186+ # with:
187+ # api-level: 28
188+ # script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
189+ # - name: "Archive Instrumented Orchestrator Tests Results"
190+ # uses: actions/upload-artifact@v4
191+ # if: always()
192+ # with:
193+ # name: "instrumented-orchestrator-tests-results"
194+ # path: android-core/build/orchestrator/**
134195
135196 unit-tests :
136197 name : " Unit Tests"
0 commit comments