Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 62 additions & 61 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: "Clone branch"
uses: actions/checkout@v5
with:
token: ${{ secrets.MP_SEMANTIC_RELEASE_BOT }}
repository: mparticle/mparticle-android-sdk
ref: ${{ inputs.branch_name }}
submodules: recursive
Expand All @@ -69,67 +70,67 @@ jobs:
- name: "Push kit updates to release branch"
run: git push origin regression/${{ github.run_number }}

# instrumented-tests:
# name: "Instrumented Tests"
# timeout-minutes: 30
# runs-on: ubuntu-latest
# needs: create-regression-branch
# steps:
# - name: "Checkout future release branch"
# uses: actions/checkout@v5
# with:
# repository: mparticle/mparticle-android-sdk
# ref: regression/${{ github.run_number }}
# - name: "Install JDK 17"
# uses: actions/setup-java@v3
# with:
# distribution: "zulu"
# java-version: "17"
# cache: "gradle"
# - name: "Run Instrumented Tests"
# uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
# with:
# api-level: 28
# #script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
# script: |
# #Disable benchmark tests as they do not work on emulators
# adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
# ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
# - name: "Archive Instrumented Test Results"
# uses: actions/upload-artifact@v5
# if: always()
# with:
# name: instrumented-test-results
# path: android-core/build/reports/androidTests/connected/**
#
# instrumented-orchestrator-tests:
# name: "Instrumented Orchestrator Tests"
# timeout-minutes: 30
# runs-on: ubuntu-latest
# needs: create-regression-branch
# steps:
# - name: "Checkout Branch"
# uses: actions/checkout@v5
# with:
# repository: mparticle/mparticle-android-sdk
# ref: regression/${{ github.run_number }}
# - name: "Install JDK 17"
# uses: actions/setup-java@v3
# with:
# distribution: "zulu"
# java-version: "17"
# cache: "gradle"
# - name: "Run Instrumented Orchestrator Tests"
# uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
# with:
# api-level: 28
# script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
# - name: "Archive Instrumented Orchestrator Tests Results"
# uses: actions/upload-artifact@v5
# if: always()
# with:
# name: "instrumented-orchestrator-tests-results"
# path: android-core/build/orchestrator/**
# instrumented-tests:
# name: "Instrumented Tests"
# timeout-minutes: 30
# runs-on: ubuntu-latest
# needs: create-regression-branch
# steps:
# - name: "Checkout future release branch"
# uses: actions/checkout@v5
# with:
# repository: mparticle/mparticle-android-sdk
# ref: regression/${{ github.run_number }}
# - name: "Install JDK 17"
# uses: actions/setup-java@v3
# with:
# distribution: "zulu"
# java-version: "17"
# cache: "gradle"
# - name: "Run Instrumented Tests"
# uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
# with:
# api-level: 28
# #script: ./gradlew :android-core:cAT :android-kit-base:cAT --stacktrace
# script: |
# #Disable benchmark tests as they do not work on emulators
# adb uninstall com.mparticle.kits.test; ./gradlew connectedCheck --stacktrace
# ./gradlew :android-core:cAT :android-kit-base:cAT -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=none
# - name: "Archive Instrumented Test Results"
# uses: actions/upload-artifact@v5
# if: always()
# with:
# name: instrumented-test-results
# path: android-core/build/reports/androidTests/connected/**
#
# instrumented-orchestrator-tests:
# name: "Instrumented Orchestrator Tests"
# timeout-minutes: 30
# runs-on: ubuntu-latest
# needs: create-regression-branch
# steps:
# - name: "Checkout Branch"
# uses: actions/checkout@v5
# with:
# repository: mparticle/mparticle-android-sdk
# ref: regression/${{ github.run_number }}
# - name: "Install JDK 17"
# uses: actions/setup-java@v3
# with:
# distribution: "zulu"
# java-version: "17"
# cache: "gradle"
# - name: "Run Instrumented Orchestrator Tests"
# uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
# with:
# api-level: 28
# script: ./gradlew -Porchestrator=true :android-core:cAT --stacktrace
# - name: "Archive Instrumented Orchestrator Tests Results"
# uses: actions/upload-artifact@v5
# if: always()
# with:
# name: "instrumented-orchestrator-tests-results"
# path: android-core/build/orchestrator/**
Comment thread
Mansi-mParticle marked this conversation as resolved.
# instrumented-tests:
# name: "Instrumented Tests"
# timeout-minutes: 30
Expand Down
Loading