File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
devops/actions/run-tests/benchmark Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -261,13 +261,14 @@ runs:
261261 ${{ inputs.dry_run == 'true' && '--dry-run' || '' }} \
262262
263263 echo "::endgroup::"
264-
265- # Run integration tests
266- # NOTE: Each integration test prints its own group name as part of test script
267- export LLVM_BENCHMARKS_UNIT_TESTING=1
268- export COMPUTE_BENCHMARKS_BUILD_PATH=$WORKDIR/compute-benchmarks-build
269- python3 ./devops/scripts/benchmarks/tests/test_integration.py
270264
265+ # Run benchmarks' integration tests
266+ # NOTE: Each integration test prints its own group name as part of test script
267+ if [ '${{ github.event_name == 'pull_request' }}' = 'true' ]; then
268+ export LLVM_BENCHMARKS_UNIT_TESTING=1
269+ export COMPUTE_BENCHMARKS_BUILD_PATH=$WORKDIR/compute-benchmarks-build
270+ python3 ./devops/scripts/benchmarks/tests/test_integration.py
271+ fi
271272 - name : Cache changes and upload github summary
272273 if : always()
273274 shell : bash
You can’t perform that action at this time.
0 commit comments