Add sklearn tests to test workflow
@@ -121,6 +121,9 @@ envlist =
py3{5,6,7,8}-test-instrumentation-celery
pypy3-test-instrumentation-celery
+ ; opentelemetry-instrumentation-sklearn
+ py3{5,6,7,8}-test-instrumentation-sklearn
+
; opentelemetry-instrumentation-system-metrics
py3{5,6,7,8}-test-instrumentation-system-metrics
; instrumentation-system-metrics intentionally excluded from pypy3
@@ -176,6 +179,7 @@ changedir =
test-instrumentation-pyramid: instrumentation/opentelemetry-instrumentation-pyramid/tests
test-instrumentation-redis: instrumentation/opentelemetry-instrumentation-redis/tests
test-instrumentation-requests: instrumentation/opentelemetry-instrumentation-requests/tests
+ test-instrumentation-sklearn: instrumentation/opentelemetry-instrumentation-sklearn/tests
test-instrumentation-sqlalchemy: instrumentation/opentelemetry-instrumentation-sqlalchemy/tests
test-instrumentation-sqlite3: instrumentation/opentelemetry-instrumentation-sqlite3/tests
test-instrumentation-starlette: instrumentation/opentelemetry-instrumentation-starlette/tests
@@ -249,6 +253,8 @@ commands_pre =
datadog: pip install {toxinidir}/exporter/opentelemetry-exporter-datadog
+ sklearn: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sklearn[test]
+
sqlalchemy: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-sqlalchemy
system-metrics: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics[test]
