Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11f49d5

Browse files
authored
Temporarily disable benchmarks workflow (open-telemetry#2999)
1 parent 35ba257 commit 11f49d5

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,29 @@ jobs:
5959
run: git config --system core.longpaths true
6060
- name: run tox
6161
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json
62-
- name: Find and merge benchmarks
63-
id: find_and_merge_benchmarks
64-
run: >-
65-
jq -s '.[0].benchmarks = ([.[].benchmarks] | add)
66-
| if .[0].benchmarks == null then null else .[0] end'
67-
$(find . -name '*${{ matrix.package }}*-benchmark.json') > output.json
68-
&& echo "::set-output name=json_plaintext::$(cat output.json)"
69-
- name: Report on benchmark results
70-
if: steps.find_and_merge_benchmarks.outputs.json_plaintext != 'null'
71-
uses: rhysd/github-action-benchmark@v1
72-
with:
73-
name: OpenTelemetry Python Benchmarks - Python ${{ env[matrix.python-version ]}} - ${{ matrix.package }}
74-
tool: pytest
75-
output-file-path: output.json
76-
github-token: ${{ secrets.GITHUB_TOKEN }}
77-
max-items-in-chart: 100
78-
# Alert with a commit comment on possible performance regression
79-
alert-threshold: 200%
80-
fail-on-alert: true
81-
# Make a commit on `gh-pages` with benchmarks from previous step
82-
auto-push: ${{ github.ref == 'refs/heads/main' }}
83-
gh-pages-branch: gh-pages
84-
benchmark-data-dir-path: benchmarks
62+
# - name: Find and merge benchmarks
63+
# id: find_and_merge_benchmarks
64+
# run: >-
65+
# jq -s '.[0].benchmarks = ([.[].benchmarks] | add)
66+
# | if .[0].benchmarks == null then null else .[0] end'
67+
# $(find . -name '*${{ matrix.package }}*-benchmark.json') > output.json
68+
# && echo "::set-output name=json_plaintext::$(cat output.json)"
69+
# - name: Report on benchmark results
70+
# if: steps.find_and_merge_benchmarks.outputs.json_plaintext != 'null'
71+
# uses: rhysd/github-action-benchmark@v1
72+
# with:
73+
# name: OpenTelemetry Python Benchmarks - Python ${{ env[matrix.python-version ]}} - ${{ matrix.package }}
74+
# tool: pytest
75+
# output-file-path: output.json
76+
# github-token: ${{ secrets.GITHUB_TOKEN }}
77+
# max-items-in-chart: 100
78+
# # Alert with a commit comment on possible performance regression
79+
# alert-threshold: 200%
80+
# fail-on-alert: true
81+
# # Make a commit on `gh-pages` with benchmarks from previous step
82+
# auto-push: ${{ github.ref == 'refs/heads/main' }}
83+
# gh-pages-branch: gh-pages
84+
# benchmark-data-dir-path: benchmarks
8585
misc:
8686
strategy:
8787
fail-fast: false

0 commit comments

Comments
 (0)