File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Benchmark Main
3
3
on :
4
4
push :
5
5
branches : [ main ]
6
+ pull_request : # TEMPORARY FOR TESTING, WILL REMOVE BEFORE MARKING READY TO REVIEW
6
7
workflow_dispatch :
7
8
8
9
permissions :
18
19
image : ubuntu:24.04@sha256:a08e551cb33850e4740772b38217fc1796a66da2506d312abe51acda354ff061
19
20
timeout-minutes : 10
20
21
steps :
22
+ - name : Install Git # since Git isn't available in the container image used above
23
+ run : |
24
+ apt-get update
25
+ apt-get install -y git
26
+
27
+ - name : Configure Git safe directory
28
+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
29
+
21
30
- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
22
31
23
32
- id : setup-java
@@ -37,11 +46,16 @@ jobs:
37
46
cd sdk/trace/build
38
47
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark
39
48
40
- - name : Install Git # since Git isn't available in the container image used above
49
+ - name : Debug git environment
41
50
run : |
42
- apt-get update
43
- apt-get install -y git
44
-
51
+ pwd
52
+ ls -la
53
+ git status
54
+ echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
55
+
56
+ - name : Use CLA approved github bot
57
+ run : .github/scripts/use-cla-approved-github-bot.sh
58
+
45
59
- name : Store benchmark results
46
60
uses : benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
47
61
with :
You can’t perform that action at this time.
0 commit comments