File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 23
23
branches : [main]
24
24
paths :
25
25
- " .github/workflows/benchmark.yml"
26
+ - " ci/scripts/bench_adapt.py"
26
27
workflow_dispatch :
27
28
permissions :
28
29
contents : read
@@ -40,19 +41,17 @@ jobs:
40
41
uses : actions/setup-python@v4
41
42
with :
42
43
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
44
- name : Install Go ${{ matrix.go }} for Benchmarks
48
45
uses : actions/setup-go@v5
49
46
with :
50
47
go-version : ${{ matrix.go }}
51
48
cache : true
52
49
cache-dependency-path : go.sum
53
50
- name : Run Benchmarks
54
- if : >-
55
- success() && github.event_name == 'push' && github.repository == 'apache/arrow-go' && github.ref_name == 'main'
51
+ run : |
52
+ ci/scripts/bench.sh --json
53
+ - name : Upload results
54
+ if : github.event_name == 'push' && github.repository == 'apache/arrow-go' && github.ref_name == 'main'
56
55
env :
57
56
CONBENCH_URL : https://conbench.ursa.dev
58
57
CONBENCH_EMAIL : ${{ secrets.CONBENCH_EMAIL }}
61
60
CONBENCH_MACHINE_INFO_NAME : ${{ matrix.arch }}-debian-12
62
61
run : |
63
62
python3 -m pip install benchadapt@git+https://github.com/conbench/conbench.git@main#subdirectory=benchadapt/python
64
- python3 ci/scripts/go_bench_adapt .py
63
+ 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