diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a72cbcfc3..c91dc2ac6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,15 +47,15 @@ jobs: run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json - name: Find and merge benchmarks # TODO: Add at least one benchmark to every package type to remove this (#249) - if: matrix.package == 'sdkextension' + if: matrix.package == 'sdkextension' || matrix.package == 'propagator' run: >- jq -s '.[0].benchmarks = ([.[].benchmarks] | add) | if .[0].benchmarks == null then null else .[0] end' **/**/tests/*${{ matrix.package }}*-benchmark.json > output.json - name: Report on benchmark results # TODO: Add at least one benchmark to every package type to remove this (#249) - if: matrix.package == 'sdkextension' - uses: rhysd/github-action-benchmark@v1 + if: matrix.package == 'sdkextension' || matrix.package == 'propagator' + uses: benchmark-action/github-action-benchmark@v1 with: name: OpenTelemetry Python Benchmarks - Python ${{ env[matrix.python-version ]}} - ${{ matrix.package }} tool: pytest