Skip to content

Commit 33b4cc8

Browse files
committed
tox.ini boilerplate
1 parent e9d2146 commit 33b4cc8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tox.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ envlist =
1111
pypy3-test-instrumentation-openai-v2-{0,1}
1212
lint-instrumentation-openai-v2
1313

14+
; instrumentation-vertexai
15+
py3{8,9,10,11,12}-test-instrumentation-vertexai-{0,1}
16+
# Disabling pypy3 as shapely does not have wheels and fails to compile
17+
# pypy3-test-instrumentation-vertexai-{0,1}
18+
lint-instrumentation-vertexai
19+
1420
; opentelemetry-resource-detector-container
1521
py3{8,9,10,11,12}-test-resource-detector-container
1622
pypy3-test-resource-detector-container
@@ -418,6 +424,11 @@ deps =
418424
openai-1: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/test-requirements-1.txt
419425
lint-instrumentation-openai-v2: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/test-requirements-0.txt
420426

427+
vertexai-0: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/test-requirements-0.txt
428+
vertexai-1: {[testenv]test_deps}
429+
vertexai-1: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/test-requirements-1.txt
430+
lint-instrumentation-vertexai: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/test-requirements-0.txt
431+
421432
asgi: {[testenv]test_deps}
422433
asgi: -r {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi/test-requirements.txt
423434

@@ -769,6 +780,9 @@ commands =
769780
test-instrumentation-openai-v2: pytest {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests {posargs}
770781
lint-instrumentation-openai-v2: sh -c "cd instrumentation-genai && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-openai-v2"
771782

783+
test-instrumentation-vertexai: pytest {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/tests {posargs}
784+
lint-instrumentation-vertexai: sh -c "cd instrumentation-genai && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-vertexai"
785+
772786
test-instrumentation-sio-pika: pytest {toxinidir}/instrumentation/opentelemetry-instrumentation-pika/tests {posargs}
773787
lint-instrumentation-sio-pika: sh -c "cd instrumentation && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-pika"
774788

0 commit comments

Comments
 (0)