mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-27 04:03:09 +08:00

The requests integration is named http-requests because at the time it was created there were some problems with pylint. other integrations are using opentelemetry.ext.integration without problems, tests are passing without issue, even renamed.
30 lines
535 B
Bash
Executable File
30 lines
535 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
function cov {
|
|
pytest \
|
|
--ignore-glob=*/setup.py \
|
|
--cov ${1} \
|
|
--cov-append \
|
|
--cov-branch \
|
|
--cov-report='' \
|
|
${1}
|
|
}
|
|
|
|
|
|
coverage erase
|
|
|
|
cov opentelemetry-api
|
|
cov opentelemetry-sdk
|
|
cov ext/opentelemetry-ext-flask
|
|
cov ext/opentelemetry-ext-requests
|
|
cov ext/opentelemetry-ext-jaeger
|
|
cov ext/opentelemetry-ext-opentracing-shim
|
|
cov ext/opentelemetry-ext-wsgi
|
|
cov ext/opentelemetry-ext-zipkin
|
|
cov docs/examples/opentelemetry-example-app
|
|
|
|
coverage report
|
|
coverage xml
|