Skip to content

Commit a83e627

Browse files
committed
Include propagator benchmarks + latest GH action
* When we moved the aws-xray propagator in #720, we needed to update the benchmark step of the workflow * Additionally, the GH action has evolved since we added benchmarks so we should use the latest version
1 parent 9219677 commit a83e627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ jobs:
4747
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json
4848
- name: Find and merge benchmarks
4949
# TODO: Add at least one benchmark to every package type to remove this (#249)
50-
if: matrix.package == 'sdkextension'
50+
if: matrix.package == 'sdkextension' || matrix.package == 'propagator'
5151
run: >-
5252
jq -s '.[0].benchmarks = ([.[].benchmarks] | add)
5353
| if .[0].benchmarks == null then null else .[0] end'
5454
**/**/tests/*${{ matrix.package }}*-benchmark.json > output.json
5555
- name: Report on benchmark results
5656
# TODO: Add at least one benchmark to every package type to remove this (#249)
57-
if: matrix.package == 'sdkextension'
58-
uses: rhysd/github-action-benchmark@v1
57+
if: matrix.package == 'sdkextension' || matrix.package == 'propagator'
58+
uses: benchmark-action/github-action-benchmark@v1
5959
with:
6060
name: OpenTelemetry Python Benchmarks - Python ${{ env[matrix.python-version ]}} - ${{ matrix.package }}
6161
tool: pytest

0 commit comments

Comments
 (0)