Skip to content

Commit ac48848

Browse files
committed
Clean up upload-android-test-specs workflow
1 parent a32ae24 commit ac48848

File tree

2 files changed

+13
-34
lines changed

2 files changed

+13
-34
lines changed

.github/workflows/android-perf.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ name: android-perf
33
on:
44
schedule:
55
- cron: 0 0 * * *
6+
pull_request:
7+
paths:
8+
- .github/workflows/android-perf.yml
9+
- extension/benchmark/android/benchmark/android-llm-device-farm-test-spec.yml.j2
10+
push:
11+
branches:
12+
- main
13+
paths:
14+
- .github/workflows/android-perf.yml
15+
- extension/benchmark/android/benchmark/android-llm-device-farm-test-spec.yml.j2
616
# Note: GitHub has an upper limit of 10 inputs
717
workflow_dispatch:
818
inputs:
@@ -76,9 +86,9 @@ jobs:
7686
# Separate default values from the workflow dispatch. To ensure defaults are accessible
7787
# during scheduled runs and to provide flexibility for different defaults between
7888
# on-demand and periodic benchmarking.
79-
CRON_DEFAULT_MODELS: "stories110M,dl3,mv3,mv2,ic4,ic3,vit"
80-
CRON_DEFAULT_DEVICES: "samsung_galaxy_s22"
81-
CRON_DEFAULT_DELEGATES: "xnnpack,qnn"
89+
CRON_DEFAULT_MODELS: ${{ github.event_name == 'schedule' && 'stories110M,dl3,mv3,mv2,ic4,ic3,vit' || 'stories110M' }}
90+
CRON_DEFAULT_DEVICES: samsung_galaxy_s22
91+
CRON_DEFAULT_DELEGATES: ${{ github.event_name == 'schedule' && 'xnnpack,qnn' || 'xnnpack' }}
8292
run: |
8393
set -ex
8494
MODELS="${{ inputs.models }}"

.github/workflows/upload-android-test-specs.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)