diff --git a/tox.ini b/tox.ini index 370603cbe54..74840ec08f8 100644 --- a/tox.ini +++ b/tox.ini @@ -96,29 +96,6 @@ setenv = CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA} mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/tests/opentelemetry-test-utils/src/ -changedir = - api: opentelemetry-api/tests - sdk: opentelemetry-sdk/tests - protobuf: opentelemetry-proto/tests - semantic-conventions: opentelemetry-semantic-conventions/tests - getting-started: docs/getting_started/tests - opentracing-shim: shim/opentelemetry-opentracing-shim/tests - opencensus-shim: shim/opentelemetry-opencensus-shim/tests - - exporter-opencensus: exporter/opentelemetry-exporter-opencensus/tests - exporter-otlp-proto-common: exporter/opentelemetry-exporter-otlp-proto-common/tests - exporter-otlp-combined: exporter/opentelemetry-exporter-otlp/tests - exporter-otlp-proto-grpc: exporter/opentelemetry-exporter-otlp-proto-grpc/tests - exporter-otlp-proto-http: exporter/opentelemetry-exporter-otlp-proto-http/tests - exporter-prometheus: exporter/opentelemetry-exporter-prometheus/tests - exporter-zipkin-combined: exporter/opentelemetry-exporter-zipkin/tests - exporter-zipkin-proto-http: exporter/opentelemetry-exporter-zipkin-proto-http/tests - exporter-zipkin-json: exporter/opentelemetry-exporter-zipkin-json/tests - - propagator-b3: propagator/opentelemetry-propagator-b3/tests - propagator-jaeger: propagator/opentelemetry-propagator-jaeger/tests - test-utils: tests/opentelemetry-test-utils/tests - commands_pre = ; Install without -e to test the actual installation py3{8,9,10,11}: python -m pip install -U pip setuptools wheel @@ -182,6 +159,29 @@ commands_pre = ; opentelemetry-api", leading to an error mypyinstalled: pip install file://{toxinidir}/opentelemetry-api/ +changedir = + api: opentelemetry-api/tests + sdk: opentelemetry-sdk/tests + protobuf: opentelemetry-proto/tests + semantic-conventions: opentelemetry-semantic-conventions/tests + getting-started: docs/getting_started/tests + opentracing-shim: shim/opentelemetry-opentracing-shim/tests + opencensus-shim: shim/opentelemetry-opencensus-shim/tests + + exporter-opencensus: exporter/opentelemetry-exporter-opencensus/tests + exporter-otlp-proto-common: exporter/opentelemetry-exporter-otlp-proto-common/tests + exporter-otlp-combined: exporter/opentelemetry-exporter-otlp/tests + exporter-otlp-proto-grpc: exporter/opentelemetry-exporter-otlp-proto-grpc/tests + exporter-otlp-proto-http: exporter/opentelemetry-exporter-otlp-proto-http/tests + exporter-prometheus: exporter/opentelemetry-exporter-prometheus/tests + exporter-zipkin-combined: exporter/opentelemetry-exporter-zipkin/tests + exporter-zipkin-proto-http: exporter/opentelemetry-exporter-zipkin-proto-http/tests + exporter-zipkin-json: exporter/opentelemetry-exporter-zipkin-json/tests + + propagator-b3: propagator/opentelemetry-propagator-b3/tests + propagator-jaeger: propagator/opentelemetry-propagator-jaeger/tests + test-utils: tests/opentelemetry-test-utils/tests + commands = opentelemetry: pytest {posargs} coverage: {toxinidir}/scripts/coverage.sh