Adding more documentation around examples
skipsdist = True
skip_missing_interpreters = True
envlist =
- py3{4,5,6,7,8}-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger,ext-pymongo,opentracing-shim}
- pypy3-test-{api,sdk,example-app,ext-wsgi,ext-http-requests,ext-jaeger,ext-pymongo,opentracing-shim}
+ py3{4,5,6,7,8}-test-{api,sdk,example-app,example-basic-tracer,example-http,ext-wsgi,ext-http-requests,ext-jaeger,ext-pymongo,opentracing-shim}
+ pypy3-test-{api,sdk,example-app,example-basic-tracer,example-http,ext-wsgi,ext-http-requests,ext-jaeger,ext-pymongo,opentracing-shim}
py3{4,5,6,7,8}-coverage
; Coverage is temporarily disabled for pypy3 due to the pytest bug.
@@ -38,6 +38,8 @@ changedir =
test-ext-pymongo: ext/opentelemetry-ext-pymongo/tests
test-ext-wsgi: ext/opentelemetry-ext-wsgi/tests
test-example-app: examples/opentelemetry-example-app/tests
+ test-example-basic-tracer: examples/basic_tracer/tests
+ test-example-http: examples/http/tests
test-opentracing-shim: ext/opentelemetry-ext-opentracing-shim/tests
commands_pre =
@@ -49,6 +51,14 @@ commands_pre =
example-app: pip install {toxinidir}/ext/opentelemetry-ext-http-requests
example-app: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
example-app: pip install {toxinidir}/examples/opentelemetry-example-app
+ example-basic-tracer: pip install -e {toxinidir}/opentelemetry-api
+ example-basic-tracer: pip install -e {toxinidir}/opentelemetry-sdk
+ example-http: pip install -e {toxinidir}/opentelemetry-api
+ example-http: pip install -e {toxinidir}/opentelemetry-sdk
+ example-http: pip install -e {toxinidir}/ext/opentelemetry-ext-http-requests
+ example-http: pip install -e {toxinidir}/ext/opentelemetry-ext-wsgi
+ example-http: pip install -r {toxinidir}/examples/http/requirements.txt
+
ext: pip install {toxinidir}/opentelemetry-api
wsgi: pip install {toxinidir}/ext/opentelemetry-ext-wsgi
pymongo: pip install {toxinidir}/ext/opentelemetry-ext-pymongo
@@ -125,7 +135,9 @@ commands =
ext/opentelemetry-ext-pymongo/tests/ \
ext/opentelemetry-ext-wsgi/tests/ \
examples/opentelemetry-example-app/src/opentelemetry_example_app/ \
- examples/opentelemetry-example-app/tests/
+ examples/opentelemetry-example-app/tests/ \
+ examples/basic_tracer/ \
+ examples/http/
flake8 .
isort --check-only --diff --recursive .
