Skip to content

Commit 18edbbe

Browse files
authored
Clean up tox.ini (open-telemetry#417)
Remove redundant environments and separate environments into logical groupings for maintainability.
1 parent 972e2ab commit 18edbbe

File tree

1 file changed

+64
-4
lines changed

1 file changed

+64
-4
lines changed

tox.ini

Lines changed: 64 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,70 @@
22
skipsdist = True
33
skip_missing_interpreters = True
44
envlist =
5-
py3{4,5,6,7,8}-test-{api,sdk,example-app,ext-wsgi,ext-flask,ext-http-requests,ext-jaeger,ext-dbapi,ext-mysql,ext-psycopg2,ext-pymongo,ext-zipkin,opentracing-shim}
6-
pypy3-test-{api,sdk,example-app,ext-wsgi,ext-flask,ext-http-requests,ext-jaeger,ext-dbapi,ext-mysql,ext-pymongo,ext-zipkin,opentracing-shim}
7-
py3{4,5,6,7,8}-test-{api,sdk,example-app,example-basic-tracer,example-http,ext-wsgi,ext-flask,ext-http-requests,ext-jaeger,ext-dbapi,ext-mysql,ext-psycopg2,ext-pymongo,ext-zipkin,opentracing-shim}
8-
pypy3-test-{api,sdk,example-app,example-basic-tracer,example-http,ext-wsgi,ext-flask,ext-http-requests,ext-jaeger,ext-dbapi,ext-mysql,ext-pymongo,ext-zipkin,opentracing-shim}
5+
6+
; Environments are organized by individual package, allowing
7+
; for specifying supported Python versions per package.
8+
; opentelemetry-api
9+
py3{4,5,6,7,8}-test-api
10+
pypy3-test-api
11+
12+
; opentelemetry-sdk
13+
py3{4,5,6,7,8}-test-sdk
14+
pypy3-test-sdk
15+
16+
; opentelemetry-example-app
17+
py3{4,5,6,7,8}-test-example-app
18+
pypy3-test-example-app
19+
20+
; examples/basic_tracer
21+
py3{4,5,6,7,8}-test-example-basic-tracer
22+
pypy3-test-example-basic-tracer
23+
24+
; examples/http
25+
py3{4,5,6,7,8}-test-example-http
26+
pypy3-test-example-http
27+
28+
; opentelemetry-ext-dbapi
29+
py3{4,5,6,7,8}-test-ext-dbapi
30+
pypy3-test-ext-dbapi
31+
32+
; opentelemetry-ext-flask
33+
py3{4,5,6,7,8}-test-ext-flask
34+
pypy3-test-ext-flask
35+
36+
; opentelemetry-ext-http-requests
37+
py3{4,5,6,7,8}-test-ext-http-requests
38+
pypy3-test-ext-http-requests
39+
40+
; opentelemetry-ext-jaeger
41+
py3{4,5,6,7,8}-test-ext-jaeger
42+
pypy3-test-ext-jaeger
43+
44+
; opentelemetry-ext-mysql
45+
py3{4,5,6,7,8}-test-ext-mysql
46+
pypy3-test-ext-mysql
47+
48+
; opentelemetry-ext-psycopg2
49+
py3{4,5,6,7,8}-test-ext-psycopg2
50+
; ext-psycopg2 intentionally excluded from pypy3
51+
52+
; opentelemetry-ext-pymongo
53+
py3{4,5,6,7,8}-test-ext-pymongo
54+
pypy3-test-ext-pymongo
55+
56+
; opentelemetry-ext-wsgi
57+
py3{4,5,6,7,8}-test-ext-wsgi
58+
pypy3-test-ext-wsgi
59+
60+
; opentelemetry-ext-zipkin
61+
py3{4,5,6,7,8}-test-ext-zipkin
62+
pypy3-test-ext-zipkin
63+
64+
; opentelemetry-opentracing-shim
65+
py3{4,5,6,7,8}-test-opentracing-shim
66+
pypy3-test-opentracing-shim
67+
68+
969
py3{4,5,6,7,8}-coverage
1070

1171
; Coverage is temporarily disabled for pypy3 due to the pytest bug.

0 commit comments

Comments
 (0)