4747 - name : " Clone branch"
4848 uses : actions/checkout@v5
4949 with :
50+ token : ${{ secrets.MP_SEMANTIC_RELEASE_BOT }}
5051 repository : mparticle/mparticle-android-sdk
5152 ref : ${{ inputs.branch_name }}
5253 submodules : recursive
@@ -69,67 +70,67 @@ jobs:
6970 - name : " Push kit updates to release branch"
7071 run : git push origin regression/${{ github.run_number }}
7172
72- # instrumented-tests:
73- # name: "Instrumented Tests"
74- # timeout-minutes: 30
75- # runs-on: ubuntu-latest
76- # needs: create-regression-branch
77- # steps:
78- # - name: "Checkout future release branch"
79- # uses: actions/checkout@v5
80- # with:
81- # repository: mparticle/mparticle-android-sdk
82- # ref: regression/${{ github.run_number }}
83- # - name: "Install JDK 17"
84- # uses: actions/setup-java@v3
85- # with:
86- # distribution: "zulu"
87- # java-version: "17"
88- # cache: "gradle"
89- # - name: "Run Instrumented Tests"
90- # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
91- # with:
92- # api-level: 28
93- # #script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
94- # script: |
95- # #Disable benchmark tests as they do not work on emulators
96- # adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
97- # ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
98- # - name: "Archive Instrumented Test Results"
99- # uses: actions/upload-artifact@v5
100- # if: always()
101- # with:
102- # name: instrumented-test-results
103- # path: android-core/build/reports/androidTests/connected/**
104- #
105- # instrumented-orchestrator-tests:
106- # name: "Instrumented Orchestrator Tests"
107- # timeout-minutes: 30
108- # runs-on: ubuntu-latest
109- # needs: create-regression-branch
110- # steps:
111- # - name: "Checkout Branch"
112- # uses: actions/checkout@v5
113- # with:
114- # repository: mparticle/mparticle-android-sdk
115- # ref: regression/${{ github.run_number }}
116- # - name: "Install JDK 17"
117- # uses: actions/setup-java@v3
118- # with:
119- # distribution: "zulu"
120- # java-version: "17"
121- # cache: "gradle"
122- # - name: "Run Instrumented Orchestrator Tests"
123- # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
124- # with:
125- # api-level: 28
126- # script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
127- # - name: "Archive Instrumented Orchestrator Tests Results"
128- # uses: actions/upload-artifact@v5
129- # if: always()
130- # with:
131- # name: "instrumented-orchestrator-tests-results"
132- # path: android-core/build/orchestrator/**
73+ # instrumented-tests:
74+ # name: "Instrumented Tests"
75+ # timeout-minutes: 30
76+ # runs-on: ubuntu-latest
77+ # needs: create-regression-branch
78+ # steps:
79+ # - name: "Checkout future release branch"
80+ # uses: actions/checkout@v5
81+ # with:
82+ # repository: mparticle/mparticle-android-sdk
83+ # ref: regression/${{ github.run_number }}
84+ # - name: "Install JDK 17"
85+ # uses: actions/setup-java@v3
86+ # with:
87+ # distribution: "zulu"
88+ # java-version: "17"
89+ # cache: "gradle"
90+ # - name: "Run Instrumented Tests"
91+ # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
92+ # with:
93+ # api-level: 28
94+ # #script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
95+ # script: |
96+ # #Disable benchmark tests as they do not work on emulators
97+ # adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
98+ # ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
99+ # - name: "Archive Instrumented Test Results"
100+ # uses: actions/upload-artifact@v5
101+ # if: always()
102+ # with:
103+ # name: instrumented-test-results
104+ # path: android-core/build/reports/androidTests/connected/**
105+ #
106+ # instrumented-orchestrator-tests:
107+ # name: "Instrumented Orchestrator Tests"
108+ # timeout-minutes: 30
109+ # runs-on: ubuntu-latest
110+ # needs: create-regression-branch
111+ # steps:
112+ # - name: "Checkout Branch"
113+ # uses: actions/checkout@v5
114+ # with:
115+ # repository: mparticle/mparticle-android-sdk
116+ # ref: regression/${{ github.run_number }}
117+ # - name: "Install JDK 17"
118+ # uses: actions/setup-java@v3
119+ # with:
120+ # distribution: "zulu"
121+ # java-version: "17"
122+ # cache: "gradle"
123+ # - name: "Run Instrumented Orchestrator Tests"
124+ # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
125+ # with:
126+ # api-level: 28
127+ # script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
128+ # - name: "Archive Instrumented Orchestrator Tests Results"
129+ # uses: actions/upload-artifact@v5
130+ # if: always()
131+ # with:
132+ # name: "instrumented-orchestrator-tests-results"
133+ # path: android-core/build/orchestrator/**
133134 # instrumented-tests:
134135 # name: "Instrumented Tests"
135136 # timeout-minutes: 30
0 commit comments