Skip to content

Commit f2694ab

Browse files
[Bench] Run benchmarks' integration tests only on PR
1 parent 62397e8 commit f2694ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,15 @@ runs:
261261
${{ inputs.dry_run == 'true' && '--dry-run' || '' }} \
262262

263263
echo "::endgroup::"
264-
265-
# Run integration tests
264+
- name: "[PR] Run benchmarks' integration tests"
265+
if: github.event_name == 'pull_request'
266+
shell: bash
267+
run: |
268+
# Run benchmarks' integration tests
266269
# NOTE: Each integration test prints its own group name as part of test script
267270
export LLVM_BENCHMARKS_UNIT_TESTING=1
268271
export COMPUTE_BENCHMARKS_BUILD_PATH=$WORKDIR/compute-benchmarks-build
269272
python3 ./devops/scripts/benchmarks/tests/test_integration.py
270-
271273
- name: Cache changes and upload github summary
272274
if: always()
273275
shell: bash

0 commit comments

Comments
 (0)