Skip to content

Commit 313ba74

Browse files
committed
build: wire openai agents tox envs
1 parent 84b77e5 commit 313ba74

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ envlist =
1313
pypy3-test-instrumentation-openai-v2-{oldest,latest}
1414
lint-instrumentation-openai-v2
1515

16+
; instrumentation-openai-agents
17+
py3{9,10,11,12,13}-test-instrumentation-openai_agents-v2-{oldest,latest}
18+
pypy3-test-instrumentation-openai_agents-v2-{oldest,latest}
19+
lint-instrumentation-openai_agents-v2
20+
1621
; instrumentation-vertexai
1722
py3{9,10,11,12,13}-test-instrumentation-vertexai-{oldest,latest}
1823
# Disabling pypy3 as shapely does not have wheels and fails to compile
@@ -460,6 +465,10 @@ deps =
460465
openai-latest: {[testenv]test_deps}
461466
openai-latest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.latest.txt
462467
lint-instrumentation-openai-v2: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/requirements.oldest.txt
468+
openai_agents-oldest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/requirements.oldest.txt
469+
openai_agents-latest: {[testenv]test_deps}
470+
openai_agents-latest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/requirements.latest.txt
471+
lint-instrumentation-openai_agents-v2: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests/requirements.oldest.txt
463472

464473
vertexai-oldest: -r {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/tests/requirements.oldest.txt
465474
vertexai-latest: {[testenv]test_deps}
@@ -847,6 +856,8 @@ commands =
847856

848857
test-instrumentation-openai-v2: pytest {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests {posargs}
849858
lint-instrumentation-openai-v2: sh -c "cd instrumentation-genai && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-openai-v2"
859+
test-instrumentation-openai_agents-v2: pytest {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-openai-agents-v2/tests {posargs}
860+
lint-instrumentation-openai_agents-v2: sh -c "cd instrumentation-genai && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-openai-agents-v2"
850861

851862
test-instrumentation-vertexai: pytest {toxinidir}/instrumentation-genai/opentelemetry-instrumentation-vertexai/tests --vcr-record=none {posargs}
852863
lint-instrumentation-vertexai: sh -c "cd instrumentation-genai && pylint --rcfile ../.pylintrc opentelemetry-instrumentation-vertexai"

0 commit comments

Comments
 (0)