Skip to content

Commit 874acb8

Browse files
traskotelbot[bot]
authored andcommitted
Fix benchmark
1 parent a0d13cf commit 874acb8

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Benchmark Main
33
on:
44
push:
55
branches: [ main ]
6+
pull_request: # TEMPORARY FOR TESTING, WILL REMOVE BEFORE MARKING READY TO REVIEW
67
workflow_dispatch:
78

89
permissions:
@@ -18,6 +19,14 @@ jobs:
1819
image: ubuntu:24.04@sha256:a08e551cb33850e4740772b38217fc1796a66da2506d312abe51acda354ff061
1920
timeout-minutes: 10
2021
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+
2130
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2231

2332
- id: setup-java
@@ -37,11 +46,16 @@ jobs:
3746
cd sdk/trace/build
3847
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark
3948
40-
- name: Install Git # since Git isn't available in the container image used above
49+
- name: Debug git environment
4150
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+
4559
- name: Store benchmark results
4660
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
4761
with:

0 commit comments

Comments
 (0)