Skip to content

Commit

Permalink
Dry run benchmarks workflow
Browse files Browse the repository at this point in the history
Change-Id: Id4610cdd006bf33b76e43b6f61b82d1f7b73a567
  • Loading branch information
mlykotom committed Apr 25, 2023
1 parent 8f6452d commit 432f4e1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- tm/benchmarks-dry-run # TODO remove, just for testing!!
pull_request:
concurrency:
group: build-${{ github.ref }}
Expand Down Expand Up @@ -98,3 +99,21 @@ jobs:
with:
name: test-reports-${{ matrix.api-level }}
path: '*/build/reports/androidTests'

performanceTests:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
timeout-minutes: 55
strategy:
matrix:
api-level: [ 30 ]
steps:
- name: Verify performance tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 30
arch: x86_64
disable-animations: true
disk-size: 6000M
heap-size: 600M
script: ./gradlew :benchmarks:connectedDemoBenchmarkAndroidTest -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.dryRunMode.enable=true

0 comments on commit 432f4e1

Please sign in to comment.