File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,9 @@ name: Benchmarks
19
19
on :
20
20
push :
21
21
branches : [main]
22
- pull_request :
23
- branches : [main]
24
22
paths :
25
23
- " .github/workflows/benchmark.yml"
24
+ - " ci/scripts/bench_adapt.py"
26
25
workflow_dispatch :
27
26
permissions :
28
27
contents : read
@@ -40,19 +39,17 @@ jobs:
40
39
uses : actions/setup-python@v4
41
40
with :
42
41
python-version : ' 3.9'
43
- - name : Install dependencies
44
- run : |
45
- apt-get update
46
- apt-get install -y build-essential git python3-pip
47
42
- name : Install Go ${{ matrix.go }} for Benchmarks
48
43
uses : actions/setup-go@v5
49
44
with :
50
45
go-version : ${{ matrix.go }}
51
46
cache : true
52
47
cache-dependency-path : go.sum
53
48
- name : Run Benchmarks
54
- if : >-
55
- success() && github.event_name == 'push' && github.repository == 'apache/arrow-go' && github.ref_name == 'main'
49
+ run : |
50
+ ci/scripts/bench.sh --json
51
+ - name : Upload results
52
+ if : github.event_name == 'push' && github.repository == 'apache/arrow-go' && github.ref_name == 'main'
56
53
env :
57
54
CONBENCH_URL : https://conbench.ursa.dev
58
55
CONBENCH_EMAIL : ${{ secrets.CONBENCH_EMAIL }}
61
58
CONBENCH_MACHINE_INFO_NAME : ${{ matrix.arch }}-debian-12
62
59
run : |
63
60
python3 -m pip install benchadapt@git+https://github.com/conbench/conbench.git@main#subdirectory=benchadapt/python
64
- python3 ci/scripts/go_bench_adapt .py
61
+ python3 ci/scripts/bench_adapt .py
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ #
1
3
# Licensed to the Apache Software Foundation (ASF) under one
2
4
# or more contributor license agreements. See the NOTICE file
3
5
# distributed with this work for additional information
You can’t perform that action at this time.
0 commit comments