From 8b58f27ca60408d8fa53ce3c94358062de163796 Mon Sep 17 00:00:00 2001 From: Ali Waleed Date: Thu, 17 Oct 2024 19:17:12 +0300 Subject: [PATCH] adjust tests --- .github/workflows/test_0.yml | 36 ++++++++++++++++++------------------ tox.ini | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test_0.yml b/.github/workflows/test_0.yml index f1a2f1c846..df74e90021 100644 --- a/.github/workflows/test_0.yml +++ b/.github/workflows/test_0.yml @@ -16,8 +16,8 @@ env: jobs: - py38-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai 3.8 Ubuntu + py38-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 3.8 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -32,10 +32,10 @@ jobs: run: pip install tox - name: Run tests - run: tox -e py38-test-instrumentation-openai -- -ra + run: tox -e py38-test-instrumentation-openai-v2 -- -ra - py39-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai 3.9 Ubuntu + py39-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 3.9 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -50,10 +50,10 @@ jobs: run: pip install tox - name: Run tests - run: tox -e py39-test-instrumentation-openai -- -ra + run: tox -e py39-test-instrumentation-openai-v2 -- -ra - py310-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai 3.10 Ubuntu + py310-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 3.10 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -68,10 +68,10 @@ jobs: run: pip install tox - name: Run tests - run: tox -e py310-test-instrumentation-openai -- -ra + run: tox -e py310-test-instrumentation-openai-v2 -- -ra - py311-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai 3.11 Ubuntu + py311-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 3.11 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -86,10 +86,10 @@ jobs: run: pip install tox - name: Run tests - run: tox -e py311-test-instrumentation-openai -- -ra + run: tox -e py311-test-instrumentation-openai-v2 -- -ra - py312-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai 3.12 Ubuntu + py312-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 3.12 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -104,10 +104,10 @@ jobs: run: pip install tox - name: Run tests - run: tox -e py312-test-instrumentation-openai -- -ra + run: tox -e py312-test-instrumentation-openai-v2 -- -ra - pypy3-test-instrumentation-openai_ubuntu-latest: - name: instrumentation-openai pypy-3.8 Ubuntu + pypy3-test-instrumentation-openai-v2_ubuntu-latest: + name: instrumentation-openai-v2 pypy-3.8 Ubuntu runs-on: ubuntu-latest steps: - name: Checkout repo @ SHA - ${{ github.sha }} @@ -122,7 +122,7 @@ jobs: run: pip install tox - name: Run tests - run: tox -e pypy3-test-instrumentation-openai -- -ra + run: tox -e pypy3-test-instrumentation-openai-v2 -- -ra py38-test-resource-detector-container_ubuntu-latest: name: resource-detector-container 3.8 Ubuntu diff --git a/tox.ini b/tox.ini index 2c85207415..74e7146b1d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,8 +7,8 @@ envlist = ; for specifying supported Python versions per package. ; instrumentation-openai - py3{8,9,10,11,12}-test-instrumentation-openai - pypy3-test-instrumentation-openai + py3{8,9,10,11,12}-test-instrumentation-openai-v2 + pypy3-test-instrumentation-openai-v2 lint-instrumentation-openai ; opentelemetry-resource-detector-container